steve_w Level: Moderator

 Registered: 18-04-2003 Posts: 1156
|
Re: Command line arguments in VB?
Hi ToughCoder
Guess what the function for that is called. Its the Command function.
Put it in your sub main / form
dim x as string
x = Command |
If you want to pass in multiple parameters. Then use the split command to seperatte them
Dim x as string
Dim y as variant
x = Command
y = Split(x," ") ' where the space is the seperator |
You then have your parameters in an array Y.
Cheers Steve
[Edited by steve_w on 06-10-2004 at 12:20 PM GMT]
|