Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create User Object in code
Message
De
30/12/2004 11:39:38
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00973256
Message ID:
00973306
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform