Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if Word is printing from VFP
Message
From
22/02/2005 12:40:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/02/2005 10:20:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00989233
Message ID:
00989321
Views:
34
>I creating MS Word merge documents from our VFP app. After the docs are created I have the app print them and then close word, which is not visible at the time. The problem is when several documents are generated I get the "Word is still printing, are you sure you want to close and cancel" message.
>
>Is there a way to check if Word is still printing from VFP. I'm using Hentzenwerke Publishing MS Office Automation with VFP to guide me through this, but I cant find anything in the book (yet).
>
>Any help would be appreciated,
>Larry Morelli
>(248) 640-7114

Laryy,
Check word's backgroundprintstatus if you've the word object. If you don't have one acquire using GetObject() - probably the only place to use GetObject() with word.
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
Reply
Map
View

Click here to load this message in the networking platform