Hi

I am new to VB6 programming.

I am stuck with Shell command. I want to run a EXE with command line arguments i.e.

Shell ("c:\myapplication.exe argument1 argument2") but it does not work. Project runs but nothing happens.

When i run it without any arguments i.e.
Shell ("c:\myapplication.exe") it works.

Please help ASAP and tell me a way out Please.

regards

SAM

PS:And if I run it in Windows->Start->Run as c:\myapplication.exe argument1 argument2 the also it works fine.