4GL/ABL General Programming


AppBuilder Newbie Seeks Guidance

Hello All,

I have some Progress programming experience, mostly in a CHUI environment using
the Procedure Editor, but am fairly new to AppBuilder and am experiencing some
problems.

I've started with a very simple program that has several fill-in fields for user
input and a button that displays/hides a customer browse.

In the Main Block code section I initialize two date fields and hide the browse:

HIDE bwsCust NO-PAUSE.
ASSIGN
sdate:SCREEN-VALUE = STRING(06/01/2007)
sdate1:SCREEN-VALUE = STRING(06/30/2007).


.Net and Progress Gui

I'm not sure this is even possible but figured I'd throw it out there, it's at least good for an eye roll and muttered "WTF?"...

We have a legacy application, heavily based upon adm2. The idea is being explored to redo the UI, and instead of doing the entire app at once, the goal is to impliment pieces at a time. The solution that is being explored is to embed a web browser in the application, write the new functionality in Asp.net with ajax and utilize the embedded browser to view the page, essentially "overriding" the former functionality.


How to Solve the Problem

Hai All,

I am facing a problem while accessing the procedure FactP existed in Progress 4GL file namely FactProc.p. Here i am giving the step-by-step procedure what i did.

i Create a Progress 4GL file namely FactProc.p and it content is:

PROCEDURE FactP:
DEFINE INPUT PARAMETER n AS INTEGER.
DEFINE OUTPUT PARAMETER m AS INTEGER.
m=1.
REPEAT:
IF n EQ 0 THEN LEAVE.
m = m * n.
n = n - 1.
END.
END PROCEDURE.


How To Connect to AppServer

Hai,
This is Shaji Kumar VK. I am fresher to OpenEdge and working on how to connect with OpenEdge from C#.NET. Could anybody help me How to programmatically connect to AppServer and call a simple procedure. Please provide me an example, if your able or tell me the URL from where i will get simple and efficient help on it. Thanks in advance.

Regards & Thanks,
Shaji Kumar.V.K


small gem for standard alert-box : CTRL-C

When I had an alert-box that I wanted to keep for information purposes, I used to ALT-PrintScreen it and paste it to MS Paint. I just learned that you can just CTRL-C the alert-box and paste it to any text editor (e.g. Notepad).


Excel with column and row controls

Hello guys,

Can we export a table of DB to Excel with column and row controls , what i mean is , to generate xls document from a table in DB , such that some of its columns ( not all ) will be protected and user can not modify the data where as some of the columns will be available for end user updation ??? is there any method or command for this...

plz hlp,,,,,,,

gaurab


record has no-lock status in write-trigger

Has anyone ever experienced this? A record has no-lock status when it is assigned in its own write-trigger.
More important, does anyone have a clue how I can solve this? Even a hint would be very welcome.

Gerard.


** Save file named core for analysis by Progress Software Corporation. (439)

Hi,

I am getting the following error in Progress 4GL while running my application:

SYSTEM ERROR: Illegal instruction. (47)
** Save file named core for analysis by Progress Software Corporation. (439)

My application hangs after this.
And exits to Unix Shell.

Do you have any idea about this error?

thanks !

regards,

syed


how to connect to a WEBSERVICE from progress using ssl and certificates?

Hi
I am trying to connect to a webservice with ssl, using a client certificate.
the code is as follows:

DEFINE VARIABLE hWebService AS HANDLE.
CREATE SERVER hWebService.
hWebService:CONNECT("-WSDL 'https://site.com/nr.WebService/file.asmx?WSDL' ") NO-ERROR.
IF NOT hWebService:CONNECTED() THEN
DO:
DEFINE VARIABLE errmsg AS CHARACTER NO-UNDO INIT "SERVER NOT CONNECTED~n".
DEFINE VARIABLE i AS INTEGER NO-UNDO.
DO i = 1 TO ERROR-STATUS:NUM-MESSAGES:
errmsg = errmsg + ERROR-STATUS:GET-MESSAGE(i) + '~n'.
END.


Greasemonkey script to select Progress knowledge center by default

Hi,
I've written a Greasemonkey script to bypass the initial choice for OpenEdge or ObjectStore, DataXtent.
Greasemonkey is a Firefox Add-on.
Install script

Regards
Carl


Syndicate content