|
-
Jul 14th, 2005, 10:50 AM
#1
Thread Starter
Fanatic Member
Using some kind of global variables
Hi! I need some global variables. I read there is none in VB.NET... What do you use when you have to keep track of some information from form to form?
I'm more of a php programmer, so to give you an idea, I'd need something like the $_SESSION in php. I bet there is a way to store information to be accessible everywhere in the program... so what is the way to go? where do I write that code? thank you ince
Jean Christophe Avard
-
Jul 14th, 2005, 10:51 AM
#2
Re: Using some kind of global variables
Declare your global variables in your module.
-
Jul 14th, 2005, 10:55 AM
#3
Thread Starter
Fanatic Member
Re: Using some kind of global variables
by default, does a VB.NET project includes already a module, or I have to add one?
thank you
edit: that was a stupid, spontaneous and ignorant question, sorry. I found the module thing and var works fine through the form... thank you so much dude!
-
Jul 14th, 2005, 10:58 AM
#4
Re: Using some kind of global variables
"The dark side clouds everything. Impossible to see the future is."
-
Jul 15th, 2005, 01:05 AM
#5
Re: Using some kind of global variables
Add [Resolved] to the thread title.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|