Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word Document
Message
From
09/08/2000 17:38:02
 
 
To
09/08/2000 14:49:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00402842
Message ID:
00403090
Views:
17
ok, sorry, ignore my last reply.

I had the document protected so it wanted a password. When I removed the password it worked exactly how I wanted it to.

Except:

oWord=CREATE("Word.Application")
oDoc=oWord.Documents.Open("c:\my documents\test.doc")
oDoc.Printout()
oWord.Quit(0)

I had to "*" out the "oWord.Quit(0)" to get it to actually print.

Howcome?

Is this a bad thing?

If so, what do I do to fix it?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform