![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Visual Basic: How do i make a program close itself?
I havent messed with VB in a year or two, but yesterday i started playing around wiht it again..
what command makes the program close? Unload All or Unload me? or do those just hide the forms but leave the program open? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2004
Location: San Diego, CA
Posts: 1,007
|
I know that in C# it is Application.Exit() , so it is probably something very similar.
T
__________________
I like ducks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2005
Posts: 794
|
simply put
end |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2005
Posts: 794
|
i think exit works also
unload me is an old way of doing things and sometimes only closes the forms |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
are you trying to get it to close on its own or when you click a button?
pete |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
If lstDir.ListCount = 0 Then Timer1.Enabled = False End Else and 'end' worked |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
DINO CORTEZ™
Industry Role:
Join Date: Jun 2003
Location: Vancouver Island
Posts: 2,145
|
yup - 'end'
-Dino |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Dialer Kingpin
Join Date: Jun 2003
Location: New York
Posts: 10,816
|
Quote:
I would also learn to use google, before you try coding. Just a tip. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Dialer Kingpin
Join Date: Jun 2003
Location: New York
Posts: 10,816
|
PSCODE is also cool for opensource projects, if you want to learn off coded projects.
|
![]() |
![]() ![]() ![]() ![]() ![]() |