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 / Languages / Managed C++ / February 2005

Tip: Looking for answers? Try searching our database.

Unable to use command line parameters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rajiv Das - 24 Feb 2005 06:03 GMT
Hi,
This is the first time I am using managed cpp. However, I am unable to find
how to get the command line parameters to the main function in both the
console and the Application version. The IDE allows me to set command line
values in Project Properties>Debug option.
Can anyone give me some pointers?

---------------------
Thanks
Rajiv Das
Bernd Muent - 24 Feb 2005 11:18 GMT
Rajiv Das schrieb:

> This is the first time I am using managed cpp. However, I am unable to find
> how to get the command line parameters to the main function in both the
> console and the Application version. The IDE allows me to set command line
> values in Project Properties>Debug option.
> Can anyone give me some pointers?

String* cl[]= System::Environment::GetCommandLineArgs

B.

Signature

BM Computer-Services, Bergmannstr. 66, 10961 Berlin
Webdesign, Internet, Layout und Grafik
Tel.: 030/20649400, mobil 0175/7419517, Fax: 030/20649401
Web: http://www.bmservices.de, eMail: kontakt@bmservices.de


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.