Welcome to Dream.In.Code
Become a VB Expert!

Join 137,231 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,833 people online right now. Registration is fast and FREE... Join Now!




resseting everything

 
Reply to this topicStart new topic

resseting everything

orangeslide8
14 Feb, 2007 - 09:45 AM
Post #1

D.I.C Head
Group Icon

Joined: 29 Dec, 2006
Posts: 190



Thanked: 1 times
Dream Kudos: 25
My Contributions
is there a way to reset all variables and images of labels and stuff to their original state?
thnx
john
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Resseting Everything
14 Feb, 2007 - 02:11 PM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,013



Thanked: 18 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
the quick answer is yes, lol
write a method somewhere which has the initial states for all variables (they will have to be global or equivilant). Then when your program starts you can call this method instead of simply initializing on startup, which also allows you to call this method at any time during the app's run time.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 03:27PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month