Kbase P139912: Cannot instantiate automation object
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/02/2009 |
|
Status: Unverified
SYMPTOM(s):
Cannot instantiate automation object
CREATE statement fails.
The automation server for <automation object name> is not registered properly. Please reinstall this server or try registering it again. (5893)
The automation server for videocapx.dvideocapx is not registered properly. Please reinstall this server or try registering it again. (5893)
FACT(s) (Environment):
Can access COM object from Visual Studio.
Can see object in COM Object Viewer.
OCX is registered in both HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE.
Windows
OpenEdge 10.1B
CAUSE:
The COM object is an ActiveX control, not an automation server. ActiveX controls require extra code to define and instantiate them. This code is normally generated by the AppBuilder when an OCX control is dragged into its container.
FIX:
Use the AppBuilder to create applications containing ActiveX controls.