You get the arguments either in Main or through the Environment class if VB is being daft and hiding Main from you. Its an array of strings, you can parse it as you like and extract as many or as few ...