What happened with module variables?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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...
 
Back
Top