I want to create a program that can be called with or without arguments just like ms-dos commands. (ex. chkdsk /f)

The arguments are actually login id and password. The program will check if arguments are supplied and then login accordingly. On the otherhand, if the user did not supply the arguments, the program will show a dialog box.

My only problem here is the passing and reading of arguments.

tnx.


using VB 6.0 Enterprise Edition SP3