Kbase P123778: How to upgrade an ActiveX control with an AppBuilder application?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
How to upgrade an ActiveX control with an AppBuilder application?
GOAL:
How to update and AppBuilder application when an OCX GUID has changed?
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Windows
FIX:
When an ActiveX or COM control is upgraded, it happens that the GUID which identifies the control changes during the upgrade. When this happens, any existing control property file (.wrx) becomes invalid and AppBuilder cannot load the control in the application any more.
In order to make OCX upgrade possible for an application, the following steps are recommended:
- during development, the property dialog of the control should not be used to set OCX properties. Instead, the INITIALIZE-CONTROLS procedure should be defined to set the properties.
- when an OCX is upgraded, perform the following steps:
1. open the .w file with the procedure editor and replace manually the GUID of the control with the new version.
2. delete the .wrx file - it will be recreated upon save.