Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximizing Word
Message
From
11/05/2000 15:30:42
 
 
To
11/05/2000 14:38:30
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00367585
Message ID:
00368753
Views:
21
WordObject.ActiveDocument.PrintOut()
WordObject.Quit(0) && the zero means don't prompt to save.


>This did it but its real odd. Now before this I just switched it by saving it and then reopening by creating an object using word.basic. This allowed me to open it with all toolbars showing. The only problem it was slower because I needed to drop my connection and recreate it. After that I also gave the user an option to print it and then quit word without them viewing it on the screen. If they choose to view it on the screen I used app.show with word.basic istead of visible. How I can I my document print and quit using word.application? Using word.basic I could do word.FilePrint and word.FileQuit?
>
>Thanks again for you help
>Todd
------------------------------------------------
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
Previous
Reply
Map
View

Click here to load this message in the networking platform