Help - Search - Members - Calendar
Full Version: Open Web site from citect SCADA runtime
Forums.MrPLC.com > PLCs and Supporting Devices > General Topics - The Lounge > HMI & SCADA
rjayeh
Hi,

Can anybody tell me how can i open a website from citect scada page, i found an activex called microsoft web browser but it did not work. any idea?
acpi
Hello,
You don't need an active X, you just have to use the exec command.
Like this on a button by example : Exec("C:\Program Files\Internet Explorer\iexplore.exe http://forums.mrplc.com"),

JC
rjayeh
QUOTE (acpi @ Sep 10 2009, 01:51 PM) *
Hello,
You don't need an active X, you just have to use the exec command.
Like this on a button by example : Exec("C:\Program Files\Internet Explorer\iexplore.exe http://forums.mrplc.com"),

JC

Thank you JC very much for the help
paulengr
QUOTE (rjayeh @ Sep 8 2009, 02:57 PM) *
Hi,

Can anybody tell me how can i open a website from citect scada page, i found an activex called microsoft web browser but it did not work. any idea?


If you try to use ActiveX, then the easiest way is to use the WebBrowser control. Documentation is here:
http://msdn.microsoft.com/en-us/library/aa...28VS.85%29.aspx

It's a specialized captive version of IE.

In practice, it's fairly easy to use and has the advantage that it is on the page and since the controls are normally hidden (unless you expose them), you have 100% control over the captive webbrowser.

There is tons of documentation on this object and the online configuration built into the object isn't half bad either.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.