command line parameters
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
dear all, i want to run my vb exe from the run dialog box in windows with some command line parameters. how do i read those parameters in vb
-
dear all, i want to run my vb exe from the run dialog box in windows with some command line parameters. how do i read those parameters in vb
In VB6 you use the
Command$
function. It returns a string of the arguments passed into the app. You then have to parse it apart and act on each one. in VB.NET check this out: http://www.vb2themax.com/Item.asp?PageID=TipBank&ID=510[^]
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."