Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Contrôles ActiveX en 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
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