Friday, 17 February 2017

OPEN .exe from WINCC VBS

This script is for opening .exe in Simatic Wincc projects. 

This script is common for Wincc Advanced, Wincc Professional. For Wincc 7.x the tag declaration will change


Dim sheel
Set sheel = CreateObject("wscript.Shell")
sheel.Exec "C:\Application.exe"
Set sheel = Nothing