Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring a class in start form, use it in another.
Message
De
02/07/2002 10:49:57
 
 
À
02/07/2002 10:17:53
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00674416
Message ID:
00674466
Vues:
26
The problem is that when I instanciate the class in the load of the start form, I cannot access it from any forms called from the main form.



>Not 100% (since it's been awhile since I've messed with it, and only with C#, not VB) ... but can you use Static Methods in your class? (at least, I'm pretty sure you can do this in C#, wouldn't think VB would be any different).
>
>~~Bonnie
>
>
>>Being a VFP programmer I can do it in Fox so there must be a way in VB.net. I have defined a class and load it in my start form. My start form calls several other forms. How do I instanciate my class so that it is accessible to all forms?
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform