Information générale
Catégorie:
COM/DCOM et OLE Automation
>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!
Pls chk the Solutions sample, it provides a sample form for this...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement