General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only