XP SP2 and HTCs in webbrowser control
- From: "newsgroups.bellsouth.net" <jwallison@xxxxxxxxxx>
- Date: Fri, 29 Jul 2005 12:05:33 -0400
I have an HTC (derived from the MS "expand" HTC) that is invoked from a web
page loaded into an MFC CHtmlView (WBC wrapper).
The page that attempts to load the HTC is generated by loading "about:blank"
into the WBC and then using IHTMLDocument2->write()/IHTMLDocument2->close()
to rewrite the source page. Both the HTML page and the HTC have a "mark of
the web" <!-- saved from url=(0014)about:internet -->".
If I write the HTML page to disk and then use Navigate2() to load it from
the file: URL, it loads and executes the Javascript in the HTC. If I DON'T
write to disk/read from disk into the WBC, I get:
Error: "Access is denied to file://<path to HTC file>
Code: 0
URL: about:blank
Any ideas on how to avoid this error and get the external HTC to load and
execute without writing the page referencing the HTC to the filesystem?
- jwallison
.
- Prev by Date: Re: Cannot capture events in frames
- Next by Date: XP SP2 and loading HTC - access denied
- Previous by thread: Override handling of non-HTML content
- Next by thread: XP SP2 and loading HTC - access denied
- Index(es):
Relevant Pages
|
|