Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word SaveAs
Message
 
To
27/01/2000 11:14:19
Victoria Mckee
Kansas City Life Insurance Co
Kansas City, Missouri, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00323592
Message ID:
00323602
Views:
15
>I do not have any trouble opening a document, doing a mail merge with a Fox data table, or printing the doucument, but now my user needs to have the document saved to a new file name so that it can be e-mailed to various folk in our company.
>
>The only reference documentation is referencing VB.
>
>My current line:
>
>oleApp.ActiveDocument.SaveAs FileName:=("c:\foxprint\TempMem.doc")
>
>returns a syntax error. I wonder if there are parameters I am missing or if the VB example just does not work in Fox. Also any reference book for Word as a server with Fox syntax would be greatly appreciated (title/author/isbn number). We are using Vis Fox 6.0 and Word from Office 2000.
>
>Thanks so much.
>
>Victoria

Victoria,

Just use
oleApp.ActiveDocument.SaveAs("c:\foxprint\TempMem.doc")

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform