Consultor Eletrônico



Kbase P80437: Why does a WRX file load the wrong version of the ActiveX Control?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/3/2009
Status: Verified

GOAL:

Why does a WRX file load the wrong version of the ActiveX Control?

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x
OpenEdge Language Category: ActiveX

FIX:

When loading a window containing ActiveX Controls the .WRX file is used to determine what object to load. This is done by reading the GUID for the control from the WRX file then looking at the registry to determine where the file to load is. Some controls incorrectly use the same GUID for differing versions of their controls and this can cause Progress to accidentally load the wrong version of the control.

To resolve this using REGSVR32.EXE to unregister the version of the control which is not wanted. An example is shown below:

REGSVR32 /U NameOfTheActiveControlGoesHere