Link to home
Start Free TrialLog in
Avatar of neeshsonu
neeshsonu

asked on

VB Script execution

I ran the script:
<job id="vbs">
<script language="VBScript">
set WshShell = WScript.CreateObject"WScript.Shell"
WshShell.Run "Call Sheet"
WshShell.AppActivate "Call Sheet"
</script>
</job>
to switch between tasks.
ANd I get the error:
Line:1
Char:1
Error: Expected statement
Code: 800A0400
Source: Microsoft VB Script compilation error
How do I fix this?
Thankyou.
Neeshs
ASKER CERTIFIED SOLUTION
Avatar of Colosseo
Colosseo
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial