Closing Programs (Resolved)
I have created some code (with sum help from a few guys on here), to open a specific program, and load a saved file for it. What i now need is some coding to close the program i open after it finishes.
It runs this program constantly, every 30 seconds, and each time it opens it seperately, as opposed to just re-running the specified file. This is the code im using:
Shell "C:\Program Files\Ghost Mouse\Gmouse.exe c:\documents and settings\ben\desktop\cargo to can.gms"
Can any one provide me with some code to close this specific file after it has been created?
Thanks in advance
*I looked through the forums for anyone else having this problem, and some bright spark replied to a similar post with:
Private Sub Command1_Click()
End
End Sub
Im not sure if he was having a joke, (:)) but it wasnt perticularly helpful as all it does is close the VB App.. not the specified file.