Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42437

Need to Watch the Command Line Arguments Being Passed

$
0
0
I have a project which passes two command line arguments to another project. I am trying to setup a watch to see what the values of these arguments exactly are. So in the watch window I enter My.Application.CommandLineArgs(0) and My.Application.CommandLineArgs(1) on different lines. But I am only getting a message

Quote:

{"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"} System.ArgumentOutOfRangeException

Viewing all articles
Browse latest Browse all 42437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>