Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / August 2006

Tip: Looking for answers? Try searching our database.

Passing arguments to program from within IDE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 20 Aug 2006 20:12 GMT
Hi,

I'm using Visual Studio C++ 2005.

I can't find the option to pass parameters to my program (for argv). I need
to be able to send arguments to my program and debug.

Thanks.
naveed - 21 Aug 2006 21:35 GMT
Right Click on the project node in the Solution Explorer, choose
Properties from the menu, alternatively click on the <Project>
Properites in the Project Menu. Where <Project> is the name of your
project. Once the project properties window shows up, click on the
Debug Tab on the left side and enter your command line arguments to
"Command line arguments:" field under the "Start Options" section.
These will be passed as argv to your program.

Take care
Naveed
John - 22 Aug 2006 18:50 GMT
> Right Click on the project node in the Solution Explorer, choose
> Properties from the menu, alternatively click on the <Project>
[quoted text clipped - 6 lines]
> Take care
> Naveed

It worked. Thank you very much!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.