Board index » Visual Studio » Can someone help me?
|
ÖÑÁÉÌÇÓ
|
Can someone help me?
Visual Studio232
I am using a command line visual basic I would like to have code that reads in some arguments These arguments are then passed to another program to run. Why is it that it doesnt work when I compile the following? I am hoping to that on execution, the file test.bat will run! Module1 Sub Main() Shell.Execute "C:\xyz\TEST.BAT" End Sub End Module I have confirmed that xyz etc are all valid paths! If this works, then I can extend it so that TEST.BAT becomes and input argument separately but so far it doesnt work and complains that I havent declared Shell I am very very new to VB and hope someone can give me advice. - |
