We have a Knowledge Base that we want to link from our desktop application for help.
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.
This causes them to be prompted everytime:
Dim url = "http://mysite.com/index.php?/category/40/0/10/"
Process.Start(url)
I cannot put the username and password in the url anymore since IE9 doesn't support it:
http://username:pass@url.com <-- not supported by newer browsers
I've tried to use the webbrowser control but it is using IE4 instead of anything current. This is causing it to display incorrectly.
Dim hdr = "Authorization: Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes("myuser" + ":" + "password")) + System.Environment.NewLine
WebBrowser1.Navigate(Url, Nothing, Nothing, hdr)
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.
Any suggestions on how to get around this? I just want to simply open up a secure webpage from my application!
Thanks!