I am developing an application where in I am using both forms and command line arguments. I have tried using Environment.getCommandLineArgs(). But it is reading only one argument, the path of the exe file. The command line arguments are first read and if present they are executed. Or else the form must be displayed to the user. The code is working fine if executed in the Visual Studio. But it is reading only one argument if the exe is used for the execution. Can any one locate the problem????
Thanks in advance,