Re: How to pass and get parameter from command line in VB
From: Pásztor, Zoltán (pasztor_at_ml-cons.hu)
Date: 05/20/04
- Previous message: Phu Van Le: "How to pass and get parameter from command line in VB"
- In reply to: Phu Van Le: "How to pass and get parameter from command line in VB"
- Next in thread: Phu Van Le: "Re: How to pass and get parameter from command line in VB"
- Reply: Phu Van Le: "Re: How to pass and get parameter from command line in VB"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 May 2004 18:15:55 +0200
Look up the Command$ function in the help.
Also, for general programming questions like this you'd better see the
microsoft.public.vb.general.discussion ng.
If you don't mind an advice: before asking, try to google the group archive.
This question, and great many of others, had been asked there literally
hundreds of times.
Here's an initial search string that I use (it is not restricted to that ng
though):
http://groups.google.com/advanced_group_search?num=100&as_scoring=d&as_ugroup=*.vb.*&as_eq=dotnet&lr=lang_en&hl=en
The tricky part is to form the correct search phrase...
The following prase:
"parameter passing to .exe"
entered into the 'with *all* of the words' box (without the quotes) yielded
more than 500 hits, the top three are the following:
Re: Passing a Runtime Parameter to a VB6 EXE: How To?
... I want to compile a VB6 Application which will allow a user to run the
EXE with the option of passing it a parameter. How do you do this? ...
microsoft.public.vb.general.discussion - 19 May 2004 by Tony Proctor - View
Thread (26 articles)
Re: Run a file with redirected input
... parameter to the INVERSE.EXE program. It's a feature of the command
interpreter (CMD.EXE),
so to conclude, you need to execute CMD.EXE (or COMMAND.COM) passing ...
microsoft.public.vb.winapi - 17 May 2004 by Björn Holmgren - View Thread (5
articles)
Re: shellexecute on a file, WITH parameters
... the associated exe is found and windows starts the EXE passing the
filename ... the description
of the call: lpParameters [in] If the lpFile parameter specifies an ...
microsoft.public.vb.general.discussion - 3 May 2004 by Bob Butler - View
Thread (9 articles)
hth
-- PZ Phu Van Le wrote: > Hi, > > I just a beginner in VB. I write a simple application in VB and make > it as an executable .EXE file. When I run it from command line in > DOS, I need to pass some parameter to it. But I don't know how to > code in VB to get this parameter. Can someone help? Thanks. > > Regards, > > Phu
- Previous message: Phu Van Le: "How to pass and get parameter from command line in VB"
- In reply to: Phu Van Le: "How to pass and get parameter from command line in VB"
- Next in thread: Phu Van Le: "Re: How to pass and get parameter from command line in VB"
- Reply: Phu Van Le: "Re: How to pass and get parameter from command line in VB"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|