If I generate some HTML and have it in a string and then say:
myWebBrowser.DocumentText = string;
It seems to work just fine, except none of the images load (I get the broken image graphic).
If, however, I write the string to a file and then say:
myWebBrowser.Url = new Uri("file://myfile.html");
Everything works just fine.
My question is, what's going on under the covers here that is different? I've verified in both cases that the path to the images (via RClick->View Source) is the same and that all the images do, indeed, exist.
In both cases the HTML is exactly the same.
Any light that could be shed on this would be appreciated. Thanks!