Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject
Message
Information générale
Forum:
ASP.NET
Catégorie:
Controls activeX
Titre:
Divers
Thread ID:
00779027
Message ID:
00779030
Vues:
18
>In VFP as well as VB and I think even VB.NET you can use something like:
>loObject = CreateObject("InternetExplorer.Application")
>
>What is the equivalent of CreateObject in C#?
>
>TIA

To answer my own question...

I can't believe I forgot to check the VFP Toolkit Help file. Here is their answer:

This functionality can be achieved couple of ways:
The first method is to create the object: Both a and b do the same job
a. MyCustomerForm oForm = new MyCustomerForm(); //Create a new object here
b. Application.Load(new MyCustomerForm());
c. Activator.CreateInstance()
Note: Please review GetInterface() to see how an Excel.Application can
be created in .NET
Rip Ryness
International Falls, MN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform