Applies To:
  • CitectSCADA 5.5x, 6.xx
  • CitectHMI 5.5x, 6.xx

Summary:
The Exec() function can be used to launch Internet Explorer during run time but how do I launch a specific web page from a button in Citect Runtime?
 

Solution:
To launch an application from citect runtime, an Exec() function can be assigned to button properties and executed during run time.

Exec("C:\Program Files\Internet Explorer\iexplore.exe");

This command will launch internet explorer during runtime but the page displayed will be the one set in Internet Options HomePage

To launch a specific web page from run time, the syntax of the command will be

Exec("C:\Program Files\Internet Explorer\iexplore.exe http:\\www.citect.com");

This will launch the citect web site once the function is run from a button created on a graphic page 

Keywords:
Internet explorer, web page, Exec  

Attachments