Re: Reading the source of a HTML file, which is displayed by a webbrowser control
"Bendix Koopmann" <freak5@freak5.de> wrote in message
news:hvq2zns2d8p$.dwozoz9yli8$.dlg@40tude.net
<img id="pagerrorImg" SRC="pagerror.gif" width="25" height="33">
The HTML code doesn't seem to be special, but they managed to make
html resources instead of simple text files. I can't find something
about HTML resources on the MSDN and they are not loadable like
simple text files.
I don't quite understand what you are saying. HTML files should be
stored as resources of type RT_HTML (actually, you can store them as any
other type, but then you would have to specify the type as part of
res:// URL). An HTML file _is_ a text file, but honestly, I fail to see
the significance of this fact, nor the reason you give so much emphasis
to it.
When a resource-bound HTML file refers to an image, such as
"pagerror.gif", this image should also be a resource with the name
"pagerror.gif" and the type 2110, as you can see in shdoclc.dll
--
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