Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Word 2000 object
Message
From
10/03/2003 16:36:00
 
 
To
10/03/2003 16:19:33
Bill Emery
MedScribe Information Systems
Sylvania, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00763923
Message ID:
00763929
Views:
14
Just a thought,
If you are you quitting Word after each print out, try to keep it open till the program terminates printing all the pages.



>I'm using VFP 7 SP1 and MS Word 2000 on a Windows 2000 platform. My application uses a table with a list of Word documents in it. The application creates an instance of Word, loads a Word type document, prints it, closes the document, then tells Word to quit. The problem I'm having is that everything works just fine except the Word print command.
>
>The first document will sometimes print, the rest will not. The exception occurs when I'm in the VFP debugger stepping slowly through the code. Then all the document print just fine.
>
>Strange as this sounds, it looks as though my VFP code is OK. Commands get sent to Word, but it looks like VFP is almost going too fast, and Word doesn't keep up.
>
>Can someone please point me in the right direction here? Thanks in advance!
>
>Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform