Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening existing Word doc in OLE container control
Message
De
22/08/1999 11:22:56
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00256395
Message ID:
00256397
Vues:
30
>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
Fil
Voir

Click here to load this message in the networking platform