I would like to open an existing MS Word document on a VFP form to provide a crude help file for my application. If possible I would like the users to be able to basic Word functionality like Find and Print.
I dropped an OLE Control on my form and attempted to open the document with the following:
thisform.oleWord.Visible = .T.
thisform.oleWord.object.Documents("C:\mydoc\help.doc").Open
But I keep getting the dreaded "OLE error code ... unknown name" error.
Can anyone show me where I am going wrong?
Thanks!
Vern