Hi..
How can i use the commandline arguments in Visual Basic 6?
I want to pass multipule arguments of different datatypes.

Use the Command() Function.

thanks for the help......

What exactly is it that you want to achieve? If the above was what you were looking for, great, please mark as solved then, thanx.

I want to pass multipule arguments of different datatypes.

Everything is identified as a string in VB6 with the Command() command.

It's the responsibiilty of the programmer to test and categorize the string data to determine if it can be classified as numeric: e.g. textvb6.exe seven 6 horses could be run on the command line. You would have three string values: seven, 6, and horses. Only "6" would test out as numeric using the IsNum() function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.