Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic
Newbie - Quitting in VB6
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
abitlikehomer
New Member
Join Date:
Mar 2006
Posts:
3
#1
Newbie - Quitting in VB6
Mar 30 '06, 01:22 PM
I have almost finished my project but i have made a command button. What i want it to do is when clicked, exit the application/project and the whole of VB closes. Is this possible? If so how?
Cheers in advance.
zagarat
New Member
Join Date:
Mar 2006
Posts:
3
#2
Mar 30 '06, 04:52 PM
Just type
End
on its own
Comment
Post
Cancel
CaptainD
New Member
Join Date:
Mar 2006
Posts:
135
#3
Mar 30 '06, 05:25 PM
It's a good idea to make sure all the forms in your program are closed prior to exiting the program.
Code:
Dim frm As Form 'Unload the form For Each frm In Forms Unload frm Next
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment