4GL/ABL General Programming


Changing text on popup message alert buttons

Is there a way to change the text on buttons that are displayed in a popup message? For example:

MESSAGE "This is a test. Do you wish to continue?"
VIEW-AS ALERT-BOX BUTTONS YES-NO UPDATE vContinue.

Is there a way to creat buttons that don't say YES-NO like above and say something else (whatever I want to put into them)?


Note about character client on Windows

Just a note, in case anybody else runs into this. I couldn't get the character client to work (Windows 7), but found what was wrong. Right-click on the shortcut to get the context menu, go to Properties, select the Layout tab, and look at the Screen buffer size. The height in the screen buffer size should be the same as the height in the Window size.


How to pass/get selected text from active OEA editor to "Customization program".

Hi,

In OE Architect you can run your own procedures from menu or context menu using OpenEdge Customization editor. If I select some text from active file on editor, is there any change to get that selected text in called procedure? Meaning that I have some file opened in OEA. Then I select text from it. Then I run my own procedure (ie test.p) that I have added to Customization/Extensibility menu. In that called procedure (test.p) I need to know that selected text.


Convert OpenEdge format expression to a regular expression

Has anyone written a tool to convert an OpenEdge format expression to a regular expression that is used by things like JavaScript and Silverlight?


SMTPMail with NTLM Authentication

Hi,

Can anyone help me with smtpmails. I am trying to use smtpmail.p using an Exchange server with NTLM authentication. Current smtpmail.p supports only LOGIN menthod. I did some research but couldn't find a sample program to generate NTLM type 3 message. Can someone help me with this or a way to get around this. I am not able to stick to Windows alone solution such as a com/dll I need to use the program with a linux client with an Exchange Server.

Thanks,

Sam


Webservice sample

Hi,

I´ve had sucess to write a simple webservice like this:

DEFINE INPUT PARAMETER pCustNum AS INTEGER NO-UNDO.
DEFINE OUTPUT PARAMETER pCustName AS CHARACTER NO-UNDO.

DEFINE NEW GLOBAL SHARED VARIABLE giCallCount AS INTEGER NO-UNDO.

giCallCount = giCallCount + 1.
IF pCustNum = 1 THEN
DO:
pCustName = "Test Name".
RETURN "Success!".
END.
ELSE DO:
pCustName = "No Name".
RETURN "Failure!".
END.

Now I´m trying to add some methods on it, like:

DEFINE INPUT PARAMETER pCustNum AS INTEGER NO-UNDO.


Move cursor to end of text on entry of fill in

Anyone got any bright ideas? On applying entry to a fill in, we need the cursor to be positioned to the very right of any text already in the fill in, and the fill in value should not be hilighted. That means a user can start typing without overwriting what's there. Any ideas gratefully received.


Can't dump data using pro2my version 2 or 3 on centos with progress 9.1D

Hello to everyone!

Can anybody help me to run ptmd.p correctly? It doesn't dump the data nor create the .SQL files. It just outputs the status message "Processing ". My guess is that it does And how do i run a procedure in Linux command line without progress looking for the r-code? It just won't run without the rcode. I'm using mbpro and pro to execute the .p files... Help me please. Thanks.


Need help installing OpenEdge 10.2 on Linux

Hi all,

I am currently trying to install OpenEdge 10.2 on a server running Red Hat Enterprise Linux ES Release 4. On this particular server, there are 4 databases that usually are only brought up a couple of times a week for testing purposes, but are then shut down after use, so at the time I am working on it, none of them are in use. Oh, those databases run off of the version 9.1d Progress currently on the same server.


Webservice Call problem

I'm trying to create a procedure with a call to a webservice and keep getting this error when i do the actual call to 'GetTodaysOutlook' (I am running on Release 10.1B03)

"Error creating SOAP Call parameter: The requested 'PSCAnyType' C++ type for the {http://www.xignite.com/services/}OutlookTypes XML type cannot be instantiated. Mapping to 'WASP_DII_String' was found. (11797)"

I did run the WSDL analyzer(bprowsdldoc) on the wsdl , but i still cant find out what i do wrong).
If there is anyone that can tell me what i do wrong, i would appreciate it, Code supplied below:

CODE


Syndicate content