I have been using the following VBScript code (in an ASP page) to call an executable in a shell that I built using VB:
Const WindowNorm = 1
Const WindowMin = 2
Const WindowMax = 3
Const WaitonRet = True
Const NoWaitOnRet = False
Dim WshShell
Set WshShell = CreateObject("Wscript.Shell"
WshShell.Run "D:\ICIPilotDevelopment\ICI_Exit.exe", WindowMin
Set WshShell = Nothing
-----------------
I am not sure if it is possible, but I wanted to pass a VBScript variable to the executable and I wasnt sure how to do that or if it can even be done using the method I have shown above. Any comments on how to do this (or telling me Im crazy for thinking I can do this)?
Const WindowNorm = 1
Const WindowMin = 2
Const WindowMax = 3
Const WaitonRet = True
Const NoWaitOnRet = False
Dim WshShell
Set WshShell = CreateObject("Wscript.Shell"
WshShell.Run "D:\ICIPilotDevelopment\ICI_Exit.exe", WindowMin
Set WshShell = Nothing
-----------------
I am not sure if it is possible, but I wanted to pass a VBScript variable to the executable and I wasnt sure how to do that or if it can even be done using the method I have shown above. Any comments on how to do this (or telling me Im crazy for thinking I can do this)?