Automation Projects Helper

Do simple. Learn more. Be Expert

Wednesday, 26 October 2016

WINCC VBS (VBScript) to open Shortcut

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

Dim sheel
Dim MyFilePath
MyFilePath = "D:\Manual.lnk"
Set sheel = CreateObject("wscript.Shell")
sheel.Exec "RUNDLL32.EXE URL.DLL,FileProtocolHandler " & MyFilePath
Posted by SRJ at 1:01 pm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

SRJ
View my complete profile

Blog Archive

  • ►  2017 (1)
    • ►  February (1)
  • ▼  2016 (14)
    • ▼  October (14)
      • WINCC VBS (VBScript) to open Shortcut
      • Wincc VBS(VBScript) to open PDF files
      • Wincc VBS(VBScript) for MS Access Data Report
      • Wincc VBS(VBScript) for close an application(.exe)
      • Table view in Simatic Comfort HMI Sample Project -...
      • Excel Reports between two datetime Sample Project ...
      • Write/Log Data to Database - (WINCC Advanced V13 S...
      • Read Data from Database - (WINCC Advanced V13 Samp...
      • WINCC VBScript - Write data into database
      • WINCC VBScript - Read data from database
      • SQL Tutorial 2
      • SQL Tutorial 1
      • VB Script for Write into database Table
      • Vb6 Script for Database connection
Simple theme. Theme images by luoman. Powered by Blogger.