Walter Meester
HoogkarspelNetherlands
General information
Category:
ActiveX controls in VFP
Hi Gad,
Do you have the same problems with the ADDOBJECT line described below. It might have to do with the CREATEOBJECT approach.
Walter,
>>
>>Unfortunately I don't have VFP and the help docs at hand now, but the third parameter in the ADDOBJECT method should allow you to add the ActiveX control at runtime. for example:
>>THISFORM.AddObject("ImageEdit","OLEControl","WangImage.EditCtrl.1")
>>
>>Good luck,
>>
>>Walter,
> Well I've succeded in creating the OLE with CREATEOBJECT(), but unfortially I still get the OLE error "Unknown name" in the EXE...
>
>Any other ideas?
>
>Many thanks,
>Gadi
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only