| View previous topic :: View next topic |
| Author |
Message |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Thu Jun 14, 2007 5:16 am Post subject: Help me with Delphi |
|
|
Is there a way to make it so if you click at a button, you open a webpage.
Also, is there a way to make a .bat file which searchs for a program, and opens it. Or is there another way to do this?
Example: Warcraft 3. If its saved under C:\documents and settings\warcraft3\warcraft3.exe in my computer. but C:\documents and settings\whatever\whatever\warcraft3.exe on my friends computer
so if i send him my program, it wont work because i use ShellExecute... and then we dont have the same path, it will only works if we have the same. so is there any program or way for delphi or other programs to search for the name warcraft3.exe and then open it.
Hope you understand thanks in advance
|
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Thu Jun 14, 2007 5:38 am Post subject: |
|
|
| I don't know what API is used for searching, but if u want to open a webpage use ShellExecute, and instead of the program name put the URL.
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Thu Jun 14, 2007 5:51 am Post subject: |
|
|
| okay, thanks. anyone else??
|
|
| Back to top |
|
 |
|