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