.exe
Hi all...
How to terminate an app.exe through vb coding
# 1 Re: .exe
your app or another running app ?
if yours : the simplist (but not the best ) is :
END
or you can unload all open forms:
unload frm1
set frm1= Nothing
unload me
set frmMain = Nothing
hspc at 2007-11-9 23:26:13 >

# 3 Re: .exe
MSDN :
The End statement stops code execution abruptly, without invoking the Unload, QueryUnload, or Terminate event, or any other Visual Basic code. Code you have placed in the Unload, QueryUnload, and Terminate events of forms and class modules is not executed.
that's why END is not recommended
hspc at 2007-11-9 23:28:07 >
