Consultor Eletrônico



Kbase P6044: How to Embed Excel in a Progress Window
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/5/2004
Status: Unverified

GOAL:

How to Embed Excel in a Progress Window

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000
Progress 8.3x
Progress 9.1x
OpenEdge 10.x

FIX:

With Microsoft Office 2000, there is a DLL, when registered, that allows you to embed Excel within a Progress window.

Basically, this DLL makes Excel into an OCX Control.

To enable this functionality simply register MSOWC.DLL which is normally found in C:\Program Files\Microsoft Office\Office:
regsvr32 "C:\Program Files\Microsoft Office\Office\MSOWC.DLL"

Once you have registered the DLL you can verify that everything worked by creating a window in the UIB/AppBuilder and selecting the OCX icon on the palette and locating the entry named "Microsoft Office Spreadsheet 9.0" in the "Choose Control" dialog box.