Wednesday, 26 October 2016

Wincc VBS(VBScript) to open PDF files

This script is for opening PDF file 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:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" + " " + "D:\123.pdf"
Set sheel = Nothing

No comments:

Post a Comment