Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word 95 document from Visual FoxPro
Message
From
26/01/1999 04:33:46
 
 
To
25/01/1999 09:42:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179746
Message ID:
00180177
Views:
20
>>I'm printing a Word 95 document from Visual FoxPro and it works fine, but when I'm closing the document/exit Word with the Word-Basic command oWord.Activedocument.FileColse(2) I get following error: OLE error code 0x80020006 Unknown error.
>>I have tried other ways to close/exit Word, but with no luck, I always an error of some kind.
>>
>>Help ......
>Benn,
>AFAIK there is not "activedocument" in word.basic. Instead you could use :
>oWord.Fileexit(2) && Exit no save
>Cetin
Thanks for your advice. I have tried that one too, but nothing works. I decided to skip Office 95 and use Office 97 instead and it works fine.
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Reply
Map
View

Click here to load this message in the networking platform