Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still having problems with OLE Control
Message
From
06/10/1999 16:45:52
Becky Vidal
Heritage Information Systems, Inc.
Richmond, Virginia, United States
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Still having problems with OLE Control
Miscellaneous
Thread ID:
00273403
Message ID:
00273403
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform