Modules are a little weird in VB.NET, don't act like they did in vb6 (from
what I've seen, I try to avoid them like the plague).
Anyways, you might want to do
Imports myModule
on top of the classes you want to use it in. Personally, I would use a
Class declaration and call a shared varialble
i.e
public class myClass
public shared UserID as Integer
end class
"Trint Smith" <tr********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I've looked for a 'module' and used the class viewer to put it in there,
but 'Public UserID As String' is still not a globally visible string.
How do I do this please?
Thanks,
Trint
Net programmer
tr********@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!