Forum Discussion
7 Replies
- shankar_rCommunity Hero
Below are the links which are discussed similar topics,
Post here, if you got any errors
- siteshagNew Contributor
Thanks for your answer I had tried it but it is showing microsoft vbscript runtime error.Somehow code is not able to upload library file.
sAutoAppPath = "D:\BTAAF\FunctionLibrary\CommonFunction.vbs"
Call Sys.OleObject("WScript.Shell").Run(sAutoAppPath)
Function Sum()
call killProcess("Excel.exe")
End function
- shankar_rCommunity Hero
For me below code is working fine, I'm able to trigger the VBS file
Function triggerVBS path = "D:\Users\Desktop\Test.vbs" 'Way1 WshShell.Run(path) 'Way2 Call Sys.OleObject("WScript.Shell").Run(path) End Function