Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject
Message
 
To
12/04/2006 16:30:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01112449
Message ID:
01113182
Views:
15
That would be 3 stars for you. Thanks Much!


>Is there another type called manageftp? Even if there is why are you casting there when you want an object.
>You want late binding w/o adding any reference, right?
>
>
>using System.Reflection;
>//...
> Type t = Type.GetTypeFromProgID("VisualFoxpro.Application");
> object oApp = Activator.CreateInstance(t);
> string VFPversion =
>       (string)oApp.GetType().InvokeMember("eval",
>        BindingFlags.InvokeMethod, null, oApp, new object[1] { "Version()" });
>
Cetin
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Reply
Map
View

Click here to load this message in the networking platform