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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-09-2005, 03:41 PM   #1
brizzad
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?
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:44 PM   #2
colpanic
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.
colpanic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:45 PM   #3
Tony Montana
Confirmed User
 
Join Date: Jan 2005
Posts: 794
simply put


end
Tony Montana is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:47 PM   #4
Tony Montana
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
Tony Montana is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:49 PM   #5
Pete-KT
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
Pete-KT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:50 PM   #6
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally Posted by Tony Montana
simply put


end
thanks that worked
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:51 PM   #7
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally Posted by Pete-KT
are you trying to get it to close on its own or when you click a button?

pete
i was using it in

If lstDir.ListCount = 0 Then
Timer1.Enabled = False
End
Else

and 'end' worked
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 03:52 PM   #8
dcortez
DINO CORTEZ™
 
dcortez's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Vancouver Island
Posts: 2,145
yup - 'end'

-Dino
dcortez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:50 PM   #9
emthree
Dialer Kingpin
 
Join Date: Jun 2003
Location: New York
Posts: 10,816
Quote:
END
What else would it be?

I would also learn to use google, before you try coding. Just a tip.
__________________

Sell Patches & Pills
emthree is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:51 PM   #10
emthree
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.
__________________

Sell Patches & Pills
emthree is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.