| View previous topic :: View next topic |
| Author |
Message |
I'm C.H. Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Dec 2006 Posts: 1000 Location: Sweden
|
Posted: Sun Feb 10, 2008 4:21 am Post subject: [Vb6] Executing From a File? |
|
|
Well I'm working on my mega package, but I don't want to add all the forms and so, so how can I do so that when a button is clicked, the trainer will execute from the file?
_________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Sun Feb 10, 2008 7:39 am Post subject: |
|
|
| Code: | | Shell <Directory Here> |
For example:
| Code: | | Shell App.Path & "\Trainers\Game.exe" |
_________________
|
|
| Back to top |
|
 |
killar456 Master Cheater
Reputation: 0
Joined: 30 Mar 2007 Posts: 415
|
Posted: Sun Feb 10, 2008 9:46 am Post subject: |
|
|
i always use | Code: | | Shell "path here", vbnormalfocus |
i think...
|
|
| Back to top |
|
 |
XxOsirisxX Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Oct 2006 Posts: 1597
|
Posted: Sun Feb 10, 2008 11:33 am Post subject: |
|
|
You can use boths.
| Code: | | Shell (App.Path & "\FileName.exe"), vbNormalFocus |
or
| Code: | | Shell (App.Path + "\" + "FileName.exe"), vbNormalFocus |
Which ever you feel better using, is the same thing.
_________________
|
|
| Back to top |
|
 |
|