Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP COM server used in MS Word
Message
De
11/09/2000 09:23:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00414588
Message ID:
00414845
Vues:
25
Hi Jim,

If you are going to use the DLL in Word (assuming Word version 97 or better), then you are going to do this in VBA code using the code example I posted as a jumpstart. That quote from Miriam's article is a bit wide-reaching, but is true. So the syntax you need is VBA since Office's programming and macro language is VBA.


>I guess I am starting from too far behind, John. That's why I am looking for a description of the entire process after the creation of the .dll. I am just trying to get my feet wet with COM. I have created a .dll with one object class with one method that converts a date into an 'age,' and I want to use it in a Word doc. to see how that goes. Actually, I am using the Liskin article in the latest (Sept.) FP Advisor and trying to do what she says at the end and "...use the syntax supported by thatlanguage for instantiating COM objects." Is it necessary to use VBA do do this in Word?
>
>I understand this is probably too big a question for this thread, but, as I say, I am looking for some documentation of the process. MSDN doesn't give me anything that I can see.
>
>Thanks, John.
>
>Jim
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform