Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word and OLE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00284559
Message ID:
00285222
Vues:
21
Mary-Ann
I hope David's response solved your problems. I had no idea that VFP5 and VFP6 needed totally different commands.

I HAD run into a problem with different versions of Word.....

Barbara

>Hi Barbara,
>I'm using VFP 5.0(have ordered the upgrade to visual studio 6.0) and Word 2000. I'm sure it's a syntax error because I really don't understand how to use the different functions in the different classes. Using oword.(createobject("word.application"), the line that comes up with 'unknown name' is oword.document.saveas("filename"). Should I be using the Word Command Macro "FileSaveAs" instead? Seems like it, but how do I run a macro?
>I see a RunAutoMacro in the Document Class when I use the Object Browser in Word, it's all so confusing to me. Any help to clear this up will be greatly appreciated.
>
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform