Computing.Net > Forums > Programming > close VB window button code

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

close VB window button code

Reply to Message Icon

Name: xboxking02
Date: August 21, 2005 at 00:06:28 Pacific
OS: win xp
CPU/Ram: AMD 3400+ 2 G's
Comment:

Hi,
I was wondering what line of code closes the current window in visual basic, it has to be coded into a command button.



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: August 21, 2005 at 04:37:39 Pacific
Reply:

Private Sub Command1_Click()
Unload Me
End Sub

Stuart


0

Response Number 2
Name: xboxking02
Date: August 27, 2005 at 16:03:20 Pacific
Reply:

thank ya.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


playing audio files with ... beginner to winsnmp



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: close VB window button code

delete itself and close the window www.computing.net/answers/programming/delete-itself-and-close-the-window/18211.html

VB close www.computing.net/answers/programming/vb-close/8017.html

how to disable close button in vb www.computing.net/answers/programming/how-to-disable-close-button-in-vb/4243.html