4GL/ABL General Programming


Is there a way to call Progress UI in C# .Net

I am trying to call the progress UI(Built using AppBuilder) in C #; I would like to know if there is any way to do it? I am using progress 10.2 beta version.
Please help me!


Someone use the LOG-MANAGER with WebSpeed?

If yes, how?

I have seen in the ProKB "P116542" (KBId) that there is a problem with the assigne of a "LOGFILE-NAME", because it's not dynamically settings at the lanch of the LOG-MANAGER in the code of a file.p.

How i can resolve?

TNX.


How to create WSDL

Hi All,

How I have to create WSDL?

Where I need to deploy that created WSDL?

What are the changes I need to do for creating WSDL

Rajaselvam.M


Problem with smtpmail.p

I'm trying to use smtpmail.p with our email server, but having no luck. I've tried to duplicate the settings used in my email client, but there's something different that the ever-suspicious server picks up and it returns this message:

220-(servername) ESMTP Exim 4.68 #1 Thu, 04 Sep 2008 00:51:38 -0500 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.

how to find methods and attributes for smartobjects

How do I find out what methods and attributes I can call for a smartobject? Specifically, I want to be able tell a smart data object to jump to a given record so it shows the record in the smartDataView that I have attached to it.
In python, you just type dir(). Is there any equivalent in Progress?

Thx


What is &ANALYZE-SUSPEND and &ANALYZE-RESUME?

There is no mention of these preprocessor directives anywhere in the ABL reference or handbook.
What do they do?


smartobjects howto

Does anybody know where there's some smartobjects tutorials? I need something like the ABL handbook where it shows you how to create a very primitive app. The ABL handbook does not mention smartobjects at all.
The "ADM and smartobjects" manual has no examples. I just need a quick and dirty example to get something concrete up and running.

Shawn


PERSISTENT & SUPER procedure in practice...

"called.p"

DEF VAR vcStringa AS CHAR INIT "Questa è la stringa di inizializzazione" FORMAT "X(40)" NO-UNDO.
DEF VAR vcFrameStampa AS CHAR NO-UNDO.
DEF VAR vcFrameTitolo AS CHAR NO-UNDO.
DEF VAR i AS INT NO-UNDO.

DO i=0 TO 5
:   
    vcFrameStampa = SUBSTITUTE ("fStampa&1", i).
    vcFrameTitolo = SUBSTITUTE ("Procedura di stampa &1", i).
    
    DEFINE FRAME vcFrameStampa WITH CENTERED TITLE vcFrameTitolo.
    
    DISPLAY vcStringa LABEL "Stampa"
            i LABEL "indice"
            vcFrameTitolo FORMAT "X(40)"

Try to print with FRAME: i made mistake...

DEF VAR i AS INT INIT 0.
DEF VAR j AS INT INIT 0.

DEFINE FRAME fCust
       Customer.CustNum LABEL "Cust#"
       Customer.Name
       Customer.City
       SKIP(1).

DEFINE FRAME fInvo
       Invoice.Invoicenum LABEL "Invo#"
       SKIP(1).

forCust:
FOR EACH Customer NO-LOCK WITH FRAME fCust
:
    i = i + 1.
    
    forInv:
    FOR EACH Invoice
    WHERE Invoice.CustNum = Customer.CustNum
    NO-LOCK WITH FRAME fInvo
    : 
        j = j + 1. 
    END.
END.

MESSAGE "i: " i "j: "j.

character coordinates vs pixel coordinates

Why the heck does one character equal 5 pixels by 21 pixels? Characters in 8 Point Courier New font are definitely NOT 5x21 pixels. This completely throws off all forms. Is there any way to change progress to use different character to pixel conversions?. Otherwise, I have to go through all the code and convert coordinates. This will be very painful.

Help!!!

Shawn


Syndicate content