I load html to a web control, by directly using
IHTMLDocument2::write.
if the html contains the following:
<img src="test.jpg">
Than it appears as a "red x", because the web browser cant find the
file.
This is expected because I dont use "Navigate" which contains a path,
so no path is available.
I can solve this problem by adding a full path to each image, e,g:
<img src="c:\temp\test.jpg">
but it means changing the html, and I want to avoid that.
Is there a way to specify the default folder (in this case "c:
\temp'") of the document,
so the web browser will use it, and the original html will work.
Thanks for your help,
Regards,
Si.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925