rcgomez11
Member
Citrix Online Plug-In 12.1.44.1
Windows 7 32 Bit
OpenEdge 10.1C
Good day,
What I'm trying to do is to call my default web browser and automatically opens a specific website (company website) from the 4gl button (click event). All is well when I'm running the dialog with the button in my local workstation but accessing it through Citrix, nothing seems to happen. Below are the scripts that I'd tried to use for this feature.
Hope to hear from you soon and thanks in advance. Have a good day ahead.
Thanks and regards,
Romel
Windows 7 32 Bit
OpenEdge 10.1C
Good day,
What I'm trying to do is to call my default web browser and automatically opens a specific website (company website) from the 4gl button (click event). All is well when I'm running the dialog with the button in my local workstation but accessing it through Citrix, nothing seems to happen. Below are the scripts that I'd tried to use for this feature.
Code:
DEFINE VARIABLE objExplorer AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE xsourceFileName AS CHARACTER NO-UNDO.
ASSIGN xsourceFileName = "http://www.progress.com".
create "InternetExplorer.Application" objExplorer NO-ERROR.
objExplorer:visible = yes.
objExplorer:Navigate(xsourceFileName).
release object objExplorer.
Code:
os-command no-wait value('start http://www.progress.com').
OS-COMMAND SILENT VALUE("START chrome.exe http://www.progress.com") NO-ERROR.
Code:
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).
Hope to hear from you soon and thanks in advance. Have a good day ahead.
Thanks and regards,
Romel