Is there a way I can set the exit code of a VB app?
Printable View
Is there a way I can set the exit code of a VB app?
The API ExitProcess does that.
Can some1 tell me how can I saiftly close some Application started on my PC.
I have try with TerminateProcess, but some things of app does'n end.
Is it posible to use ExitProcess to end some app another then current.
thanx in advence.
emm, i think why not you try the easy method,
obtain the hWnd of the appication, and use PostMessage with WM_CLOSE to close it?
HTH
Sooner Or Later, Everyone Does...