|
-
February 14th, 2000, 04:15 PM
#1
Exit Command?
What is the command to exit a program?
I have a menu made and when I click on Exit, I wan't the program to shut down.
Thanks for any help
-
February 14th, 2000, 04:20 PM
#2
Re: Exit Command?
use the 'end' command to exit.
private sub mnuTest_click
end
end sub
you can also use the form_unload event to unload a form
-
February 14th, 2000, 06:06 PM
#3
Re: Exit Command?
for the code jsut type in end
-
February 15th, 2000, 12:14 AM
#4
-
February 15th, 2000, 03:56 PM
#5
Re: Exit Command?
The "End" statement is a **HORRIBLE** way to end your program. When VB encounters the "End" statement, your program exits immediately with no clean-up. Your best bet is to use Unload me
. This fires your Terminate event and allows you to clean up.
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
|