Click to See Complete Forum and Search --> : EXE Exit code


Sean Kenney
October 21st, 1998, 03:15 PM
Is there a way I can set the exit code of a VB app?

Justin Decker
October 25th, 1998, 05:34 PM
The API ExitProcess does that.

Bose MK
April 28th, 2000, 07:01 AM
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.

balak yap
April 28th, 2000, 07:57 AM
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...