Click here to Skip to main content
15,891,712 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All

Please help me. I am using the Webbrowser control on on windows form. The problem I have is that when Webbrowser1.Navigate(url) is executed, this text "res://ieframe.dll/dnserrordiagoff_webOC.htm# u" is addedat the beginning of my original url. I t looks like it happenes within teh Navigate method, because when I debug the address is correct up to the line that calls teh navigate method.

Thank you in advnced, I will greatly appreciate your assistance.
Posted
Updated 15-Feb-12 8:13am
v2
Comments
Sergey Alexandrovich Kryukov 15-Feb-12 14:13pm    
Tags fixed.
--SA

1 solution

Please see these discussions:
http://stackoverflow.com/questions/7827792/using-the-res-protocol-with-system-windows-forms-webbrowser[^],
work-around is demonstrated here: http://stackoverflow.com/questions/1254605/ms-webbrowser-embedded-html-resource-res-protocol[^].

However, I'm not sure you need to use WebBroser at all. If you want to use resource to render it as HTML, maybe this is all you need? In this case, there is much better component.

Please see this CodeProject article: A Professional HTML Renderer You Will Use[^].

I tested this thing, it is nearly perfect.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900