Internetwork Consulting LLC
3880 Greenhouse Road #421
Houston, TX 77084

832-606-3300

sales@internetworkconsulting.net
Custom Software Development - Computer Repair
 

programming

How to Fix Broken Images, Links, CSS, and Javascript in a C# WebBrowser Control

In writing this I hope to alleviate some potential headaches/roadblocks one may suffer when using a WebBrowser control in C# with html documents that link to external resources (CSS, JS, images).

The problem arises with the method you choose to load the document:

string sHtml = “<html code here>”;