4GL/ABL General Programming


OOP And Class Property Enumeration

Hi All. I start to study ABL. I use Progress 10.1B02. I don't know how I can enumerate class properties. Can Progress OOP observe its own structure and behavior (has reflection)?


RSACryptoServiceProvider in 4GL

Hi everyone

I am in need of sending a signed hash to a server that is programmed in Progress 10.2A 4GL.

I have searched and have come to this in C#:

SHA1Managed sha = new SHA1Managed();

....

RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();

byte[] SignedHashValue = rsa.SignData(digest, sha);

Console.WriteLine(Convert.ToBase64String(SignedHashValue));

I need help in converting C# to Progress,

Can anyone help me?

Thank

João Pedro Portelinha


Data from Website to Progress DB

Hi All...

This is a fun project i'm trying to put together

I'm trying to get data from this website

http://www.premierleague.com/page/Statistics

This is a page with statistics for fantasy football in the UK

N.B. there is no data there for this season as it starts tomorrow but you can see if you look back at 2009/2010 season

Basically what I'm trying to do is take a weekly shot of the stats
top scorers
appearances
assists
etc
tallest
shortest!!!???

This lists top 20 scorers for given stat

You can press next to view stats for next 20 players


Disappear the black window when i use INPUT THROUGH

Hi, i need to execute a .jar and recover the messages, i`m using INPUT THROUGH to do this but i get a black window when i use it. Does anyone know how to use this command without the black window?

Example:

DEFINE VARIABLE cmd AS CHARACTER NO-UNDO.
DEFINE TEMP-TABLE temp
FIELD texto AS CHAR.

INPUT THROUGH VALUE("notepad") .

INPUT THROUGH VALUE(cmd).

EMPTY TEMP-TABLE temp.
REPEAT :
CREATE temp.
IMPORT UNFORMATTED temp.
END.

FOR EACH temp:
DISP temp.
END.


Widget error

Hi,
Can anyone tell me what this error means? It seems pretty non-descript:

"Unable to realize MENU widget"


Read Data from a memory pointer

Hi all,
I'm working with progress9.1ESP4.
I need a code sample to read the content of the memory pointer.
I'm getting some text value set from a memory pointer variable and I need to write these information to a text file. I's anybody have a idea of how to achieve this


Free PDF viewers

In a previous post, I was looking at how to access the Adobe PDF ocx control within Progress. It appears that control is only available if everyone is updated to version 9 of Adobe (another developer in the office wasn't and didn't have the control).


Microsoft ListView text color

I'm using a Microsoft ListView control in my program and want to change the color of the selected item in the list. Does anyone know how to do that? I tried using :ForeColor but any integer I assign to it fails to work.


Creating a PDF viewer in OpenEdge

I need to be able to create a way to view/modify a PDF file (Adobe form) inside an OpenEdge application. Has anyone done this that might have suggestions on how to start?


Dynamic Query system

I want to build a procedure that will take in a query string, dynamically run it and display the results into a grid. I've done that using code like this:

DEF VAR vBuffer AS HANDLE NO-UNDO.
DEF VAR vQuery AS HANDLE NO-UNDO.

CREATE BUFFER vBuffer FOR TABLE txtTable:SCREEN-VALUE.
CREATE QUERY vQuery.

vQuery:SET-BUFFERS(vBuffer).
vQuery:QUERY-PREPARE(txtQuery:SCREEN-VALUE).
vQuery:QUERY-OPEN().
vQuery:GET-FIRST().
...
Code to insert into the grid...
...


Syndicate content