ABL(4GL) General Programming Group

This group is for topics on coding in ABL (formerly known as Progress 4GL). Topics include code snippets, code examples, utility programs, tricks, techniques, and patterns. There are other groups for other more specific topics like Win32 API, OO programming, and specific programming tools.


Server connect

DB connect
Hi i have other problems,
If i try to make connection with my DB on server , i get the error unble to open lbia221 .

i think that have to something with my ini file on server ! but i have to do???????????

thanks.

Y


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


Integrated Development Environment

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.


SMTP mail produces corrupted attachments

We use smtpmail.p in our application for sending mails with pdf attachments. Unfortunatly in some situations the recipiënt receives an corrupted file, when he’s trying to open it. We tested on several smtp servers and some servers corrupted the attachment, for example xs4all.nl. Has anyone experienced the same problem or could anyone help me with a solution?

Thnx,
Ingmar.


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.


Frame Problem

Dear All,

I have problem in frame in run-time, the error is :
** unable to set attribute frame for frame my_frame
Can anybody help me to solve that problem.
Thank you for your attention.

Regards


Widget error

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

"Unable to realize MENU widget"


how can i use VLC player in progress 4gl ?

how can i use VLC player in progress 4gl and is this possible to split 4 or 5 category, and play each and every individual play list?


start-slib.p getRunFile matches BUG

In getRunFile function, the matches sentencies must be "matches '*~~.pl'" , not "matches '*.pl'", because directories like "exampl" matches with '*.pl'.


Show Persistent Objects of ABL Session

A Form (needs 10.2A+) that shows all persistent objects in the session (useful for quick visual for memory or memory leak troubleshooting).


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.


#
Syndicate content