the easiest way would be to use a module with a public / friend scoped
declaration
( i would prefer Friend )
please note that you should avoid global scoped variabels
a better aproach would be to encapsulate your logic in a singleton like
base class
that passes all required parameters to its co classes .
you might also investigate the shared keyword
regards
Michel Posseth [MCP]
VB Programmer said:
How do you define a variable as global in VB.NET 2005? Thanks.