Hello friends,
The following is my code. oShell.Run returns an error
<Method 'Run' of object 'IWshShell3' failed', I think
it is because there is a blank in "My Directory" ,
do you know how can I solve it?
sub main()
Dim oShell As Object
Dim nRet As Long
Set oShell = CreateObject("WSCript.shell"
nRet = oShell.Run("C:\My Directory\RMS.exe", , False)
Set oShell = Nothing
end sub
Thanks,
--Bita
The following is my code. oShell.Run returns an error
<Method 'Run' of object 'IWshShell3' failed', I think
it is because there is a blank in "My Directory" ,
do you know how can I solve it?
sub main()
Dim oShell As Object
Dim nRet As Long
Set oShell = CreateObject("WSCript.shell"
nRet = oShell.Run("C:\My Directory\RMS.exe", , False)
Set oShell = Nothing
end sub
Thanks,
--Bita