Hosting a Progress Application in a .Net Application

Project:The Progress STandard Libraries (STL)
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there,

Is there a way to host a Progress 4GL app in an HTML page or in a .NET application. Is it possible to wrap it as an ActiveX control, or are there perhaps tools out there that provide some form of wrapper to turn it into a control?

Thanks for your help.

- Asim


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tamhas's picture

#1

Title:Hosting a Progress Application in a .Net Application » Hosting a Progress Application in a .Net Application

Progress code requires the AVM to execute, so any of the flavors in your request which relate to having a native executable are not possible. Webspeed is the Progress tool for supporting browsers. With 10.2A, you can use the ABL GUI for .NET to create UI which is composed of .NET controls, but the language is still ABL. This includes the ability to define a .NET form and host one or more ABL GUI windows within it.

I'm not sure what this question has to do with this project.


#2

In OpenEdge GUI for .Net it can be done - and quite easily as far as I know (for OpenEdge GUI).

That is probably not an option for you and if it is only one (or a few) windows you need to wrap you could try changing the parent window handle for your OE window. The menu in the OE window will then be gone but you could pass messages using DDE or sockets. (OE doesn't support DDE (as server) out of the box so you would need a separate dll to enable that).

Code for changing parent window is around for download somewhere (maybe here). If you can't find it I have a copy. To get DDE server capability contact inqueries@williams-eng.com.
Brynjar


#3

No, You can't. But you can make a small code on .Net to call AppServer to execute some .p.
If you need some help, I can send you a small #C sample using a AppServer and running some .p.

Best regards,
Jaison