Menu
Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
VB.NET
Console Application
I'm new to console applications
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="suddenelfilio" data-source="post: 1989" data-attributes="member: 26"><p>command line arguments can be found in the property Environment.GetCommandLineArgs() this will return an array of type String. the first argument is the location of the executable the second and so are you're parameters.</p><p></p><p>Example:</p><p></p><p>in the command line you enter: c:\Parser filename.txt</p><p></p><p>dim params as String() = Environment.GetCommandLineArgs()</p><p></p><p>then your params(0) = c:\Parser.exe</p><p>and params(1) = filename.txt</p></blockquote><p></p>
[QUOTE="suddenelfilio, post: 1989, member: 26"] command line arguments can be found in the property Environment.GetCommandLineArgs() this will return an array of type String. the first argument is the location of the executable the second and so are you're parameters. Example: in the command line you enter: c:\Parser filename.txt dim params as String() = Environment.GetCommandLineArgs() then your params(0) = c:\Parser.exe and params(1) = filename.txt [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
VB.NET
Console Application
I'm new to console applications
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom