![]() |
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? |
I know that in C# it is Application.Exit() , so it is probably something very similar.
T |
simply put
end |
i think exit works also
unload me is an old way of doing things and sometimes only closes the forms |
are you trying to get it to close on its own or when you click a button?
pete |
Quote:
|
Quote:
If lstDir.ListCount = 0 Then Timer1.Enabled = False End Else and 'end' worked |
yup - 'end'
-Dino |
Quote:
I would also learn to use google, before you try coding. Just a tip. |
PSCODE is also cool for opensource projects, if you want to learn off coded projects.
|
All times are GMT -7. The time now is 05:56 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123