declaring global variables in VB.Net

In visual basic 6 I use a module to declare my public variables. Say in my module called modMain I have the following
Public strPartNumber as String

I initialize this variable in say Form1 as follows
strPartNumber = 45

I can access this value in Form2 by the foloowing code
txtPartNumber.Text = strPartNumber

How do I do the same thing in VB.Net? I am sure there are tons of way to do this, what is the most efficient way? I am thinking about declaring all my public variables in a class called cBaseForm. Code will also be helpful.
[571 byte] By [shaminda] at [2007-11-18 20:32:03]
# 1 Re: declaring global variables in VB.Net
You can make a module with public variables in VB.Net and I think it works the same way as you describe
Mr.Orange at 2007-11-10 3:21:09 >