Geekpedia Tutorials Home

Building a C# Chat Client and Server

Building a C# Chat Client and ServerA step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.

in C# Programming Tutorials

Getting Hard Drive Information

Getting Hard Drive InformationA C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.

in C# Programming Tutorials

UPS Shipping Calculator

UPS Shipping CalculatorThis tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.

in PHP Programming Tutorials

Create Your Own Rich Text Editor

Create Your Own Rich Text EditorCreating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.

in JavaScript Programming Tutorials
Search
Tutorials
Programming Tutorials
IT Jobs
From CareerBuilder

How can I pass command line arguments while debugging within Visual Studio .NET?

On Saturday, May 14th 2005 at 03:35 AM
By Andrew Pociu (View Profile)
*****   (Rated 5 with 6 votes)
Advertisement
When running your application you might want to call certain command line arguments. You can do this easily from within Visual Studio .NET 2003.
From the Project menu choose Properties. Navigate to Configuration Properties and to Debugging. Now you can see the Command Line Arguments field in the right pane, as in the image below:

Digg Digg It!     Del.icio.us Del.icio.us     Reddit Reddit     StumbleUpon StumbleIt     Newsvine Newsvine     Furl Furl     BlinkList BlinkList

Rate Rate this Knowledge Base article
Comment Current Comments
by MANOYES on Saturday, February 4th 2006 at 09:50 PM

Well that's great! What if you just want to launch the stupid MS program like Windows Media Player (WMP) from a DOS Command Line and have it load and play a netstream like www.XXX/stream. How do you do that?
Microsoft won't tell!

by eliud on Wednesday, February 22nd 2006 at 06:59 PM

That was Fantastic. Thank you a lot

by HaXr4Hire on Tuesday, May 2nd 2006 at 02:55 PM

Thankz alot... works perfectly

by luana on Tuesday, June 5th 2007 at 09:29 AM

niiiiice...thank tou!!!

by VinK on Saturday, August 4th 2007 at 06:36 AM

Great Article.
I found a version on how to do this in Visual studio 2005 at http://www.xhydra.com/dotnet/passing-command-line-arguments-in-c.html

by MZektser on Wednesday, March 26th 2008 at 02:30 PM

It does not work for published application

by mick on Sunday, June 28th 2009 at 12:26 PM

VERY IMPORTANT!

In order for this to work, you must set the project you want to run as the startup project!

by Ravi on Saturday, October 3rd 2009 at 10:27 AM

Thank you :)

by Jon on Saturday, March 20th 2010 at 03:44 PM

Thank you so much! I was tearing my hair out searching MSDN. Guess I should have just gone to Google from the outset :P


Comment Comment on this Knowledge Base article
Name: Email:
Message:
Knowledge Base Related Knowledge Base Articles
There are no related KB articles.

Comment Related Source Code
There is no related code.

Comment Related Tutorials
There are no related tutorials.

Jobs .NET Framework Job Search
My skills include:

Enter a City:

Select a State:


Advanced Search >>
Sponsors
Discover Geekpedia

Other Resources