title: Opening Url with Credentials
body: <p>We have a Knowledge Base that we want to link from our desktop application for help.  </p>
  
  <p>I've tried to open this with the default web browser but we have .htaccess credentials setup so they are being prompted. I don't want them to have to type in a username and password since we are only setting up one for the application.</p>
  
  <p>This causes them to be prompted everytime:</p>
  
  <pre><code>Dim url = "http://mysite.com/index.php?/category/40/0/10/"
  Process.Start(url)
  </code></pre>
  
  <p>I cannot put the username and password in the url anymore since IE9 doesn't support it:</p>
  
  <p><a href="http://username:pass@url.com" rel="nofollow">http://username:pass@url.com</a>  &lt;-- not supported by newer browsers</p>
  
  <p>I've tried to use the webbrowser control but it is using IE4 instead of anything current. This is causing it to display incorrectly.</p>
  
  <pre><code>Dim hdr = "Authorization: Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes("myuser" + ":" + "password")) + System.Environment.NewLine
  WebBrowser1.Navigate(Url, Nothing, Nothing, hdr)
  </code></pre>
  
  <p>I've tried to make the registry setting to force IE9 but I wasn't able to get it to work. Besides, from what I've read, if they don't have IE9 it won't matter. </p>
  
  <p>Any suggestions on how to get around this?  I just want to simply open up a secure webpage from my application!</p>
  
  <p>Thanks!</p>