Visual Basic Help...

Hello friends,
i was working on this program and then it suddenly started showing errors in this line
Code:
Dim t
    t = Shell("C:\System Manager 1.00\Data\mgmt.bat", vbHideFocus)

i really can't understand what the problem is... the error is coming in the *.exe also, though its working fine at my friend's pc... :huh: please help me out :)
 
Error in compiling or execution?

If compiling, change the text to:
Code:
Dim T
T = Shell ""C:\System Manager 1.00\Data\mgmt.bat"", vbHideFocus

If Excecution...
Check if the file mgmt.bat exists and is at the location mentioned at the path.
 
it shows an error when i try to run it.. even the exe file is not working at my pc.. but its working at my friend's pc...
the error is

"Run Time Error-5
Invalid Procedure Call or Argument" :huh:
all the files are present at the right place..
 
Back
Top