Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating VFP from Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00898688
Message ID:
00898701
Vues:
16
>How do I create a macro in Excel to run a program in VFP?
>Thanks
>Steve

Are you asking how to create a macro, or what the commands are to run VFP as an automation server. I've never created macros in Excel, so I can't help you there. If you want to use VFP as an automation server, you need to define a class as OLEPUBLIC in VFP. Then you instantiate it by saying:
ox = CreateObject("FOXOLE.MyClass")
See the "Creating Automation Servers" topic in the online help for details.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform