If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > clearing global variables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-09, 00:28
rhoy21 rhoy21 is offline
Registered User
 
Join Date: Aug 2009
Posts: 3
clearing global variables

hi, im new to vb6 and i have a problem regarding globa variables, i have to forms in the first form i gave the global variable a value and load it in the second form, the problem is when i want to go back to first form i want the global variable value to be reset or to have no value, i tried giving a null value from form two it aint working.. please give me a hand ... tnx
Reply With Quote
  #2 (permalink)  
Old 08-31-09, 08:08
Pat Phelan Pat Phelan is online now
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,611
I've moved your thread to the VB forum. There's a lot better chance of it getting an answer here.

What version of VB are you using? You've described what you want from a coding perspective. Please describe what you want from a "real world" perspective... What are you trying to accomplish or what form behavior are you trying to change?

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On