1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

OpenEdge - Progress ABL: How to open a web browser inside a dialog window

Discussão em 'StackOverflow' iniciado por fdantas, Maio 22, 2017.

  1. fdantas

    fdantas Administrator Moderador

    For the moment i have a code that allow me to open a web browser directly from my Progress application.

    DEFINE VARIABLE cProgramName AS CHARACTER NO-UNDO.
    DEFINE VARIABLE cPageAddress AS CHARACTER NO-UNDO.
    DEFINE VARIABLE iReturnResult AS INTEGER NO-UNDO.

    ASSIGN
    cProgramName = "C:\Program Files\Internet Explorer\iexplore.exe"
    cPageAddress = "http://www.progress.com".

    RUN WinExec (INPUT cProgramName + CHR(32) + cPageAddress , INPUT 1, OUTPUT iReturnResult).

    PROCEDURE WinExec EXTERNAL "KERNEL32.DLL":
    DEFINE INPUT PARAMETER ProgramName AS CHARACTER.
    DEFINE INPUT PARAMETER VisualStyle AS LONG.
    DEFINE RETURN PARAMETER StatusCode AS LONG.
    END PROCEDURE.


    Now i want to open the browser inside a dialogue box, pop-up window or a frame. I can't find any code to help me with that !

    Continue reading...
  2. valdir_fantin

    valdir_fantin Membro Participativo

    Prezado @fdantas

    Obrigado pela essa dica do Internet Explorer , adaptei aqui e esta funcionando perfeitamente

    Grato

Compartilhe esta Página