| View previous topic :: View next topic |
| Author |
Message |
kopelito Master Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 483
|
Posted: Sun Jul 22, 2007 4:55 am Post subject: Delphi Help. |
|
|
Im trying to make a program with delphi 7.
And I wanna do that when I will click on a button MzBot will open.
How do I do that?
|
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sun Jul 22, 2007 5:06 am Post subject: |
|
|
| or ShellExecute ?
|
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Sun Jul 22, 2007 5:11 am Post subject: |
|
|
You use ShellExecute to open files such as a .txt or .doc However if you want to run a process, it's better to use CreateProcess
_________________
|
|
| Back to top |
|
 |
kopelito Master Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 483
|
Posted: Sun Jul 22, 2007 5:18 am Post subject: |
|
|
I started learning delphi just yesterday so..nab :]
Can anyone explain me more deeply what to do?
|
|
| Back to top |
|
 |
KingZero Expert Cheater
Reputation: 0
Joined: 27 Jun 2006 Posts: 103
|
Posted: Sun Jul 22, 2007 11:10 am Post subject: |
|
|
| Code: | | shellexecute(handle,nil,pchar('Path to your .exe'),nil,nil,SW_SHOWNORMAL); |
|
|
| Back to top |
|
 |
|