Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject
Message
 
À
12/04/2006 16:30:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01112449
Message ID:
01113182
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform