search cancel

Starting a web browser URL session from Gen GUI C application


Article ID: 212629


Updated On:


Gen Gen - Workstation Toolset Gen - Run Time Distributed


Have a Gen application with Windows-GUI 'C' Clients and now have a request to open a specific URL website within the default installed Browser (Chrome) from this Gen application.  How can this be accomplished? 


Release : 8.6

Component : CA Gen Run Time, GUI


1.  Users could use the 'Launch' function to start/launch a URL from within a GUI application.  For example to launch an application (such as the Gen Support Portal) from Chrome, the command within Gen 8.6 on the Windows Toolset would be: 

Function Launch ("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"")

(To add this statement, select the 'Functions' statement and then select 'Launch' from the list of functions and enter the launch string, in the example case:  "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"")


2.  Gen also offers the 'Call External' command for calling a web service, reference the following links.

Adding a Call External:


3. A third option would be to call/launch an URL website via an External Action Block (EAB) or using the Gen Inline Code feature.