Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing an Application
Message
 
To
09/10/2001 15:54:54
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00566164
Message ID:
00567500
Views:
16
Sometimes left over object references will keep a program running, even though you have executed the End statement. An alternative is using the ExitProcess API to close the program. What I did as a safety is to load a form (that is not visible) with a timer before using the 'End' statement. If the timer fires, use the ExitProcess API:

Public Declare Sub ExitProcess Lib "kernel32" (ByVal uExitCode As Long)
ExitProcess 0

>When I close my app, it appears to close, but if I pull up the ctl/alt/del task menu, it is still showing on the list. I am using the UNLOAD command to close the program. Any suggestions.
Previous
Reply
Map
View

Click here to load this message in the networking platform