This collection of code snippets used to be hosted on www.global-shared.com.
It is an old collection: it all began in 1996 or 1997, when Progress 8 was new and many of us were still using Windows 3.1 !!
Unlike wine or paintings, program code doesn't get better when it ages. You can find fragments that can be improved because Microsoft continuously expands their API, or are outdated because Progress has added features to the ABL so we don't need to use the WIN32 API anymore.
Hi Guys,
I'm looking to Implement the integrated Development environment using progress Openedge Architect (Common environment to develop test and deploy).
Im puzzle on how to do this. Anybody have Idea to how to achieve this.
Hi,
If any one give me the suggestion for adding a printer button on dialog box.
please give me your constructive feedback.
I am trying to open a URL using webbrowser control by doing a HTTP POST with some xml data to the URL (instead of HTTP GET it normally does). However my code is not working:
DEF VAR wkTarget AS CHAR NO-UNDO.
DEF VAR wkpostData AS INT NO-UNDO.
create "InternetExplorer.Application" chExplorer.
Assign
chExplorer:menubar = false
chExplorer:addressbar = false
Hi,
I am using a Treeview control (version 6.0) and it doesn't appear
to have the ability to disable checkboxes or grey them out from what I
can tell (if I'm wrong, could someone tell me how?)
Since it doesn't, I'm at least trying to write code in the node click
event that will prevent the user from changing the value of the
checkbox when I need it to be disabled. So I have code that sets the
Checked status back to what it originally was before the user clicked
on that node.
The problem is that my code works fine, but that as soon as the event
Hello,
I want open a file with an xdp-extention with the default program for a pdf-file.
I can't change the default program to open an xdp-file because that has stay another program (designing program)
So if i dubbelclick the xdp-file it has to open in the designer (default from installation) but if I open the file from my program (shellexecute) I want to open it with the default pdf-program.
Most of the time this will be a version of Acrobat but it can be another one.
Problems:
I never know for sure what version of Acrobat the users have.
Does anyone know a good way of getting the memory usage of all running processes.
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
Hello everybody.
I need to turn a csv file into xls in Unix.
How? Does anyone have a program in Progress?
Thanks,
Cláudia Martins
Hi there,
I try to use the API Function WTSEnumerateSessions to get a list of Terminal Server Sessions.
Of course, it doesn't work quite well, so any help would be highly appreciated.
Look at the here-attached piece of code.
At line 64, replace "TerminalServerName" by a valid one and see what happen.
Apparently we have a valid handle to the server, the WTSEnumerateSessions returns the correct number of sessions, but I can't analyze the list of SessionId/Name/State.
Actually I only need to trap the WM_ERASEBKGND event from within Progress. As I understand I should use msgblst32.ocx for this. But I never worked with OCX. Could anybody please give me information about the integration of the OCX into a Progress application?
Thank you very much in advance!
I cannot find any download link for msgblst32.ocx. Please help!!
We are trying to create an application with a thought of SOA, for this we
have selected .Net UI and progress web services using prodataset.
Problem is that .net client is not able to find prodataset reference in
services which are taking dataset as input parameter (they need to create
an object of that type to pass to this service).
Sometimes it's neccessary to add a Caption in the titlebar to give extra information to the user of your application. The attached file does this, and makes sure the window got redrawn when windows triggers arive.
As you can see, many instances of msgblst32 are added on this window. The goal is to make it more the controlling window which always catches the events on the underlaying session applications. As every window needs its own ocx, I provided 40 instances which are hopefully enough to maintain every window.
Hi,
has anybody change the program PING.p placed in Win 32 Api - Networking to accept the name of the host?
Thanks in Advance.
Baltazar
I am working on a project that requires representation of data using line chart to be displayed in a frame.
Is this possible in progress? Any advice?
Thanx in advance