Hello Crescencio,
I found the CLSID in the registry. When I tried the ProgID, it seemed to hang for a long time and then the Insert Object dialog came up. I also tried the VersionIndependentProgID with no luck.
Here are the relevant pieces of code I tried:
ThisForm.AddObject('myctrl', 'olecontrol', 'DHTMLEDLib.DEInsertTableParam.DEInsertTableParam.1')
and ...
ThisForm.AddObject('myctrl', 'olecontrol', 'DHTMLEDLib.DEInsertTableParam.DEInsertTableParam')
I guess I'm doing something wrong. Do you have any suggestions?
Thanks for your help,
-Bri.
>
>Have you tried searching for the clsid on the registry? (with regedit)
>
>You can create automation objects from clsid's with CreateObjectEx(), but I don't believe it works with OCX's.
>
>If you can find the ProgID for this CLSID you should be able to put that in the OLEClass parameter of AddObject().
>HTH