I am using the following code to print a Word 2000 document from VFP6.
oWord=CREATEOBJECT("Word.Basic"
oWord.FileOpen ("MyLetter.doc"
oWord.FilePrint
It prints to the default printer. Is there a way I can prompt the user to select a different printer?. Like when using the VFP command:
REPORT FORM myreport TO PRINTER PROMPT
The bigger question is where can I find the syntax for other commands like the ones above to control Word from VFP?
Thanks...Rick
oWord=CREATEOBJECT("Word.Basic"
oWord.FileOpen ("MyLetter.doc"
oWord.FilePrint
It prints to the default printer. Is there a way I can prompt the user to select a different printer?. Like when using the VFP command:
REPORT FORM myreport TO PRINTER PROMPT
The bigger question is where can I find the syntax for other commands like the ones above to control Word from VFP?
Thanks...Rick