Re: application input argument in VB by FredAdiv
FredAdiv
Wed Aug 16 09:23:11 CDT 2006
Your initiale entry point for the application should be Sub Main (Args() as
string).
Place it in a module and set the project's initiale object to Sub Main.
The parameters passed to your app will be splitted by blanks and placed in
the Args array.
- Fred
"JC" <someone@somewhere.com> wrote in message
news:OZueQtRwGHA.4688@TK2MSFTNGP06.phx.gbl...
> Hi
>
> If I start my vb app like this
> DeviceApplication1.exe abc.txt
>
> Can I get the abc.txt as input argument and handle it in vb?
>
> Thx
>
> JC