Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word and OLE
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00284559
Message ID:
00285222
Views:
23
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform