Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp-like container in console app or service
Message
De
08/07/2007 17:51:59
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01238471
Message ID:
01238483
Vues:
8
>Hi everybody,
>
>In vfp, if I have an active-x component that i'd like to instantiate outside of a form, I can create a class based on the container class, drop my component into the container and then I can instantiate my class through this code elsewhere in my project:
myObject = createobject( "MyClass")
How would I do something like this in C# and in vb.net?
>
>Thanks!!!!
>
>Alex

I haven't done a lot of this in .NET, so you'll have to excuse me if I say something stupid... but, can't you add the .dll as a project reference, and instatiate you class from there?
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform