Home All Groups Group Topic Archive Search About

What happened with module variables?

Author
27 Apr 2006 1:49 PM
juan
I have a web project of Visual Basic 2005. I want to create a variable for
all the project (in a module, like in Visual Basic 2003). But I think I must
create them in another element diferent than a module. Is it true?
Regards, John.

Author
27 Apr 2006 3:07 PM
Patrice
What have you tried that doesn't work ? A module should work. Else a class
with a shared member is likely more in the current mood (this is actually
AFAIK how modules are implemented in VB.NET).

Keep in mind thought that this will hold the same value for the whole
application. For a web application, it means also all users. Make sure this
is what you want...

--

"juan" <j***@discussions.microsoft.com> a écrit dans le message de news:
9102AEC4-D167-41D1-B3DB-D629237AA***@microsoft.com...
Show quoteHide quote
>I have a web project of Visual Basic 2005. I want to create a variable for
> all the project (in a module, like in Visual Basic 2003). But I think I
> must
> create them in another element diferent than a module. Is it true?
> Regards, John.
>