Need help on CreateProcess,TerminateProcess APIs or Shell
Posted on 2004-08-11
Okay... I've never used the CreateProcess, Terminate API before. But I have read several posts on this subject.
What I am doing is creating a GUI for a exe that runs in the background. So far I can start the exe using shell. But the problem is that when I close the exe from outside of VB I get a memory error.
So I am looking for 1 of 2 things...
1) An exit method that closes what you started using shell() so I can terminate the exe when I close my GUI
2) An alternative method of createing and terminating an exe process.