Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still having problems with OLE Control
Message
De
06/10/1999 16:45:52
Becky Vidal
Heritage Information Systems, Inc.
Richmond, Virginie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Still having problems with OLE Control
Divers
Thread ID:
00273403
Message ID:
00273403
Vues:
54
Dan, I am still having problems with my OLE Control.

I have created a class "OleWordObject" based on the OLEControl object. In the INIT event I have the following code:

LPARAMETERS cdocfl
this.documentfile = cdocfl

In my main form's INIT event I have the code: thisform.addobject("ole2", "oleWordObject", "Word.Document.6", "C:\test.doc"). It calls the class but when it gets to setting the documentfile property, I get the same error that that property is read-only.

Do you have any other suggestions? I do not understand what I am doing wrong.

Thanks,
Becky
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform