Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject
Message
General information
Forum:
ASP.NET
Category:
ActiveX controls
Title:
Miscellaneous
Thread ID:
00779027
Message ID:
00779030
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform