|
-
Sep 1st, 2010, 11:55 AM
#1
Thread Starter
New Member
How to completely stop a VB 6 Application
I wrote a Visual Basic 6 program and included a command button to stop the program
Below is the code I used to stop the program
Private Sub cmdStop_Click()
Unload Me
End
End Sub
The program plays a short wav file every sixty seconds to let the user know it’s still running. Of course it does other stuff too.
I created an Executable and the command button works fine and completely stops the application. After I click the command button the program disappears from the Task Manage.
When I click the Red X in the upper right corner the window closes but the task continues running, it doesn’t disappear from the Task Manager and it continues playing the sound file every sixty seconds.
How do I force a clean completely close?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|