Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word 95 document from Visual FoxPro
Message
From
25/01/1999 09:42:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/01/1999 06:45:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179746
Message ID:
00179786
Views:
31
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform