A
Aaron Craigie
I'm using an IE control within a CAxWindow in a WTL Application. I
use the IWebBrowser2 interface to direct it to load a webpage as a
resource, using the Navigate method.
The webpage is in my exe so the URL is of the form res://c:\Program
Files\My Company\MyExe.exe/page.html
This gives me a OnNavigateError with HRESULT INET_E_UNKNOWN_PROTOCOL,
on one person's machine. For everyone else it's fine.
If you just type the res string into the address bar of IE running
separately it will load the page.
The HRESULT suggests that res is an unknown protocol, but I don't see
why? As a) it loads if you use IE separately, b) about: also fails,
but file: succeeds.
Any help would be much appreciated.
I've tried with %20 instead of spaces, I've tried adding /23/ into the
path for the RT_HTML type.
The only difference between our versions of IE is that his is IS so
it's a Internet Service Provider version customised by the IE Admin
Kit. Could this have changed some setting?
Many thanks
Aaron Craigie
use the IWebBrowser2 interface to direct it to load a webpage as a
resource, using the Navigate method.
The webpage is in my exe so the URL is of the form res://c:\Program
Files\My Company\MyExe.exe/page.html
This gives me a OnNavigateError with HRESULT INET_E_UNKNOWN_PROTOCOL,
on one person's machine. For everyone else it's fine.
If you just type the res string into the address bar of IE running
separately it will load the page.
The HRESULT suggests that res is an unknown protocol, but I don't see
why? As a) it loads if you use IE separately, b) about: also fails,
but file: succeeds.
Any help would be much appreciated.
I've tried with %20 instead of spaces, I've tried adding /23/ into the
path for the RT_HTML type.
The only difference between our versions of IE is that his is IS so
it's a Internet Service Provider version customised by the IE Admin
Kit. Could this have changed some setting?
Many thanks
Aaron Craigie