|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Retrieving command line arguments after startupIs there a way to retrieve command line arguments to my System.Windows.Forms
object OTHER THAN using the constructor Main( string args[] ) ? Thanks in advance. Chris Hough You can use either:
Environment.GetCommandLineArgs or Environment.CommandLine The first returns a string array the second just a string (that you'll need to parse). Hope that helps. Have A Better One! John M Deal, MCP Necessity Software Valerie Hough wrote: Show quoteHide quote > Is there a way to retrieve command line arguments to my System.Windows.Forms > object OTHER THAN using the constructor Main( string args[] ) ? > > Thanks in advance. > Chris Hough > >
Other interesting topics
DataBinding, grr
Is C# is having a seperate class library? Add result using EnumWindow/GetWindowText ListBox problem Making a UserControl scroll when host form is resized Delegating Menu Commands Calculations with DateTime fields using DataColumn.Expression stri Threads with Windows. How to get a file's date/time correctly? I need to run a vb.net or aspx.net file every 10 seconds. |
|||||||||||||||||||||||