No. ShellExecute() doesn't know anything about the type of document you are printing or the application that's printing it.
If you want to print a Word (or RTF) document, you'd be better off using Automation. For other document types, the answer depends on the nature of the application in question.
Of course, for ordinary text files, you can print directly from within VFP.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.