4GL/ABL General Programming


Installer to Progress Programs

Hi:
I developed a Payroll System in Progress Version 9.1E and I want to you tell me that way I can create an Installer or what program I can use to install my Payroll System in others computers.

The PCs where it is needed install the Payroll System have the next characteristics:
- Windows XP Professional and Windows 2000

I hope any solutions, thanks.


Application Compiler from Command Line Linux

I would like to know how and what would be the best way to compile a .p procedure that I have modified/created, using a command line linux based O/S server? I have a product called Vantage from Epicor running on OpenEdge 10.1Bsp3 Linux O/S. Since the product is installed through a Windows based Admin Box the compliler on the Win32 box will not function properly as it cannot find all the associated functions. This leads to complile directly from the server and as such it is command line based system only, no gui installed. Any help or direction in this area would be greatly appreciated !!!


Print a image is possible ?

Are there someone that knows how can I print a image in progress ?


Browse query

Hi,

I am seeking some help to solve this problem. Browse has a table called contract and I have a program consecur.i to check contract records to see if the user has access or not. Usercont table contain access, range from and range to. e.g. Access: Yes code from: AAA To: ZZZ
Access: No code from: Dave To: Dave


files opened with ShellExecuteA (shell32.dll) appear behind Progress Window

Hi All,

I'm using Progress window, which uses ShellExecuteA (shell32.dll), to
open Word and Excel files on a WinXP client.

The problem is that the file opens successfully, but the window is placed
behind the application i.e. Word, Excel. Its pushed back and goes back to the Progress window where I pressed a button to open a file. File application should stay in front until I close it.

Do you know how to do this? If ShellExecuteA returns the handle, I would be able to use setforeground to set it, but it is not possible.

many thanks
Melly


WAIT-FOR CLOSE (execute window and wait until it has finished)

Hi,

I'm work with Progress Openedge 10.1A.

To mimic a Modal call i'm run a persisten window and put sensitive = false the source window.

For example:

def var h_container as handle no-undo.
def var h_window as handle no-undo.

h_container = current-window.

h_container:sensitive = false.

run window.w persistent set h_window.
run inicializeObject.
wait-for close for h_window.

h_container:sensitive = true.


Problem with _osprint.p reporting

Hi guys,

I have a problem with printing using _osprint. I does print but the first 9 or 10 characters
of the output is not printed on the paper. What I mean is, if you try to see, those characters
are printed off the paper. Here's how i called it..

RUN adecomm\_osprint.p ( INPUT hWindow,
INPUT vCh_path,
INPUT 25,
INPUT 1 + 2 + 8,
INPUT 0,
INPUT 2,


Browsers Read-Only attribute

Hi,

Can anyone help me with the error 4517?

You cannot change the READ-ONLY attribute for while that browser has focus. (4517)

A browser's READ-ONLY attribute cannot be changed while that browser has focus.

I made a work around for, applying the entry to other objects in the window and changing the value of its read-only attribute. But this technique is I think not good programming style.

Please Help.,
Glenn


Kill persistens procedure

Hello everybody,

I am new at OE hives and have a question about killing persistent procedures, where I only know the programm.p name.
Is there a code sample, where I am able to say, that I want to kill the persistent procedure xy.p like within the procedure object viewer?
In development, I often modify persistens procedures and everytime before I can test the modification, I have to kill the persistent procedure manually.

Thank you in advance

Daniel


Outlook Saveas Not saving with redemption

Ok, I’m going to try my best to explain this weird problem. It’s in the saveAs Function while using Redemption.

I’m Using the outlook object model.

My code is in progress 4gl (but is pretty similar to vb)

I’m saving each appointment to a txt file then parsing out the info I need from that file.

Reasoning (Progress v9.1 doesn’t support the date-time data type)

Also I’m using the latest version of redemption.

I’m using a static date because that’s a date I have a reoccurring appt.


Syndicate content