title: Adding command line arguments to VB.Net application
body: <p>I have a windows forms based application made by another programmer and I need to add a few command line switches to it's <code>primary output exe</code> so that I can pass arguments like:</p>
  
  <p><code>program.exe -reinitialise</code> or <code>program.exe -sync</code></p>
  
  <p>I have found some docs online but all seem to be in C# and are for command line only programs.</p>
  
  <p>This program installs via an .msi and the .exe is only constructed at the end.</p>
  
  <p>So my questions are:</p>
  
  <ol>
  <li><p>How do I add command line switches to a VB.Net application?</p></li>
  <li><p>Where/What form do I add the parser to so that the primary output .exe accepts the args?</p></li>
  </ol>