Activex cannot create object
I've created a buttonset component for browsing data in a form. When I press exit button on that, it executes the code:
unload usercontrol.parent
when usercontrol.parent is the form on which it is placed. Sometimes it shows error:
error '429': Activex cannot create object
what could be the cause for this?
It's not registered properly...
Get to a command prompt and use "regsvr32" (or is it "regsrv32" :confused: ) to register it.
Example:
Code:
regsvr32 MyControl.ocx
(I'm pretty sure it's "regsvr32".)
That should do it. I get that problem all the time. I found a little shell enhancement that lets me right-click and ActiveX object (whether its an OCX or DLL) and register it... SO much easier!