"news.microsoft.com" <qu********@hotmail.com> schrieb
I want get arguments/parameters in a vb.net Console/Windows
application.
e.g. c:\MyApp.exe Parm1 Parm2
Please tell me if it is available. I cannot found in any help or
msdn.
shared sub Main(Args as string())
console.writeline string.join(vbcrlf, Args)
end sub
or: System.Environment.GetCommandLineArgs
or: Microsoft.VisualBasic.Interaction.Command
For testing purposes in the IDE, you can set the arguments in the project
properties: Configuration properties -> Debug: Command line arguments
[____________________]
--
Armin
http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html