Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create User Object in code
Message
From
30/12/2004 11:39:38
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00973256
Message ID:
00973306
Views:
16
I haven't used a structure, so I don't know if shared is available or not. Have you tried it? Sometimes the help isn't complete. If it doesn't work with structures, then I would just make everything a shared property. That *will* work.

~~Bonnie



>When I looked in the online help, shared wasn't an option for the structure, but public was. I'm creating the oUser object at the top of the login form (my main form) with
>
>Public oUser As CurrentUserClass.Currentuser
>
>But your right, I just created a second form that will be called from login form and oUser is nowhere to be seen.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform