rcgomez11
Member
Windows 7 Professional x64
Progress 10.1C
Good day ProgressTalkers,
I got a module that triggers internet browser to opens-up and directed to go a certain website. The problem is, I wanted to add some features of if that internet browser is not available in the system, e.g. I want to open "Google Chrome" then if that browser is not yet installed in my system the next internet browser the module will try is "Mozilla Firefox" then again if that is not available it will look for "Internet Explorer".
I'm trying the above code but "Error-Status:Error" gives me a "No" logical value always even I tried to make "chrome.exe" into "xChrome.exe" which is incorrect and not available to my system.
I hope I made myself clear about the problem i'm having now. I know it's just a piece of cake to you guys and hope to hear from you. Thanks in advance and more power to ProgressTalk.
Sincerely,
Romel Gomez
Progress 10.1C
Good day ProgressTalkers,
I got a module that triggers internet browser to opens-up and directed to go a certain website. The problem is, I wanted to add some features of if that internet browser is not available in the system, e.g. I want to open "Google Chrome" then if that browser is not yet installed in my system the next internet browser the module will try is "Mozilla Firefox" then again if that is not available it will look for "Internet Explorer".
Code:
OS-COMMAND SILENT VALUE("START chrome.exe http://www.someWebsite.com/") NO-ERROR.
IF ERROR-STATUS:ERROR THEN DO:
OS-COMMAND SILENT VALUE("START firefox.exe http://www.someWebsite.com/") NO-ERROR.
END.
I'm trying the above code but "Error-Status:Error" gives me a "No" logical value always even I tried to make "chrome.exe" into "xChrome.exe" which is incorrect and not available to my system.
I hope I made myself clear about the problem i'm having now. I know it's just a piece of cake to you guys and hope to hear from you. Thanks in advance and more power to ProgressTalk.
Sincerely,
Romel Gomez