|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Command line parametersI use VB .NET 2003 and work on a WinForm based app. This app takes some
parameters from command line when starting. What project properties can I set so I can see those parameters in debug mode? Thanks. John,
>I use VB .NET 2003 and work on a WinForm based app. This app takes some In the project properties you can only set the command line arguments.>parameters from command line when starting. What project properties can I set >so I can see those parameters in debug mode? It's under Configuration Properties, Debugging, Start Options. To see them at runtime you have to write your own code to output them to the debug output window, a message box or wherever you want them to appear. If you write your own Sub Main you can just take a string array as input and write that out. Otherwise you can call Environment.GetCommandLineArgs to retrieve the arguments. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
How to make a copy of a developing VS05 application to another machine?
Calling dll functions from vb.net with pointer returns! Playing card suits, vb.net? Sorted array suggestions programm crashs when instancing new object Retrieveing full Username from Enviroment? Version Check of .NET Framework at runtime how to design shopping site Access private enumeration using reflection Is a good idea to gain exposure to both Java & .NET? |
|||||||||||||||||||||||