Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning values to VFP from a Macro in Word
Message
De
05/07/2002 10:38:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/07/2002 09:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00675588
Message ID:
00675623
Vues:
9
>Answering my own question.. I see now that I can create Variables for the ActiveDocument beforehand, then have the Macro set those variables from the values entered on the UserForm, then query those variables from within my VFP.dll.
>Now, I need to know if I can create this Macro from within Fox as well as create the userform from within Fox, so I don't need to include these items or expect them to be part of the end users environment.
>
>For anyone who might be interested, I am putting together a Smart Tag Wizard for developers, not necesarily Fox developers. This wizard will allow you to define:
>1)What to recognize : regular expressions or values from table lookup in SQL Server,Foxpro,XML,OLEDB,ODBC
>2)What Options (verbs ) the end-user will get for the Smart Tag
>3)What Actions will be performed in relation to the options e.g. insert value from a data source, insert static values, call stored procedures in either Fox or SQL Server, call a COM object, call a Web Service...
>4)Build it and deploy it including all registrations
>
>I will post this as a download, or you can see it's progress on my web site at www.softlogx.com/products. I'm calling it ComSmart...
>Any feedback gets a free copy when ready.
>
>GB

Gary,
You could create almost any macro code from VFP (I mean do not run macro but a series of oWord commands).

Copy the macro to a .prg and edit it to match VFP syntax (VBA uses named parameters as you see := , VFP uses positional. You can get parameter positions from word VBA help)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform