>How do you print a MS Word document from within VFP? I want to put a button on a form and when they press it, a MS Word document prints.
oWord=createobject('Word.Application')
oWord.documents.Open(cFilename)
oWord.activedocument.printout
oWord.close(0)
Edward Pikman
Independent Consultant