title: VB.net app will only run as Administrator only
body: <p>I made a few improvements to code that has been functioning without issues.  On the development, the app runs with a problem.  Installed on a test computer and it does not run unless I right click and run as administrator.  The below code is where gets not running as Administrator.</p>
  
  <p>The for loop is adding file names to a list.  Administrator the program just ends no errors just quits.  i counter gets to 3 of a total of 6 files.  Never gets through to post the message "Did it make it here".  But does post the message inside the for loop.  i counts to 3.  If run as admin then no issues.  All file names are short and basic with no special characters.  The files locations is Application.CommonAppDataPath.  The loop is called from Form load. </p>
  
  <p>Hoping someone could tell me what is going on.</p>
  
  <pre><code>     Try
          Selected_Machine = XMLReadSetting("Machine", "Selected", "Selexx")
  
          For i = 0 To UBound(files)
              MessageBox.Show("Here 2 i " &amp; i &amp; " File Name" &amp; files(i))
              cboMachine.Items.Add(IO.Path.GetFileNameWithoutExtension(files(i)))
              If Selected_Machine = IO.Path.GetFileNameWithoutExtension(files(i)) Then
                  cboMachine.SelectedItem = IO.Path.GetFileNameWithoutExtension(files(i))
              End If
          Next
      Catch err As SyntaxErrorException
          MessageBox.Show(err.Message)
      End Try
      MessageBox.Show("Did it make it here?")
  </code></pre>