Consultor Eletrônico



Kbase 17092: How to Deploy a Progress Application that Uses ActiveX Controls
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

GOAL:

How to deploy a Progress application that uses ActiveX controls.

GOAL:

This method should help to avoid the 3131 error:

Unable to set attribute <attribute name> in widget <widget name> of type <widget-type>. (3131)

FIX:

Here are the steps that a customer needs to take to ensure that they can deploy a Progress application that uses ActiveX Controls.

Currently these manual steps are necessary ONLY if the deployment configuration DOES NOT INCLUDE the activexr archive (ActiveX Runtime).

The activexr archive IS NOT INCLUDED IN ANY OF THE DATABASE CONFIGURATIONS, such as the Personal Database license.

1) OS Requirements

* Windows 95 - Service Pack 1 plus the updated oleaut32.dll and stdole2.tlb shipped with the 8.2 product.

* WinNT 3.51 - Service Pack 5.

* WinNT 4.0 - No Service Packs required.

2) ActiveX Control Container Runtime

* PROX.DLL (R)
* MFC42.DLL
* MSVCRT.DLL
* OLEPRO32.DLL

3) Optional Components (Install the OCX and the appropriate support
files if the are used in the application):

* CSSPIN32.OCX (R)

requires MFC40.DLL, MSVCRT40.DLL

* CSCOMB32.OCX (R)

requires MFC40.DLL, MSVCRT40.DLL

* PSTIMER.OCX (R)

no special support files required


REGISTERING FILES
=================
Files denoted by (R) need to be registered. To register a file use the regsvr32.exe file. For example: regsvr32 prox.dll will register the prox.dll. To unregister type: regsvr32 /u prox.dll.


FILE LOCATION
=============
The following files can be obtained from the Windows\System directory in Windows 95 and from Windows\System32 in WinNT.

* CSSPIN32.OCX
* CSCOMB32.OCX
* MFC40.DLL
* MSVCRT.DLL
* PSTIMER.OCX
* OLEAUT32.DLL
* OLEPRO32.DLL
* STDOLE2.TLB
* MFC42.DLL

The following files can be obtained from the DLC\BIN directory.

* REGSVR32.EXE
* PROX.DLL