by Andrew Mothersele (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)
This example shows how to implement multiple command line arguments or switches. The arguments passed to the application are shown in a listbox on the screen. Help is provided on how to run the program with arguments in VB. Use arguments ion the form "-h -c-t" (without the quotes)
Assumes
Running this app, without parameters will not crash it, but does make it very dull !!
Side Effects
This will not work for people with VB5 or lower as it makes use of the split() function, introduced in VB6. There are alternatives though...
Upload