Bradley Grainger
2006-01-04 17:41:02 UTC
Hi,
Our app hosts the WebBrowser control and uses a custom asychronous pluggable
protocol handler in order to extract HTML and JScript files from data files
shipped with our application. (Our data files are essentially zipped up
folders of the HTML pages and JScript code that constitutes the core of our
program's UI.) To show a page, we create the WebBrowser and navigate it to a
custom URI (which begins with "lbxfile:" and contains the data necessary to
locate the data file and identify the file inside it).
Our app installs and runs fine on IE6 on Windows 98, ME, 2000, XP, IE 7 Beta
1 on XP, and build 5112 of Vista. When Vista build 5270 came out, we
installed it on a test computer and installed our product on it.
Unfortunately, our app does not work on this build of Vista.
It appears that the WebBrowser is refusing to load script from absolute URIs
that begin with "lbxfile:" (our custom protocol's prefix). It will load
script from relative paths (which our pluggable protocol combines with the
absolute URI of the base HTML file to form a full URI).
We tried adjusting the "Internet Zone" security settings in IE to be as
permissive as possible. (After doing this, Vista warned us that our security
settings were too low when attempting to browse the web, and would not let us
browse until they were raised.) This did not appear to fix the problem.
The only thing that appeared to work was to always load script by using
relative paths. This would be a fairly expensive change for our app (since we
have many separate data files and often want to load script from multiple
files, making absolute URIs easier to work with).
Is there a new interface we need to support to override security zone
settings? We couldn't find any documentation in the Platform SDK beyond the
new interfaces added for IE6 SP2 (with which our program runs successfully).
Or is this a bug in Vista build 5270? Note that IE7 Beta 1 on XP causes no
problems for our app.
Thanks,
Bradley
Our app hosts the WebBrowser control and uses a custom asychronous pluggable
protocol handler in order to extract HTML and JScript files from data files
shipped with our application. (Our data files are essentially zipped up
folders of the HTML pages and JScript code that constitutes the core of our
program's UI.) To show a page, we create the WebBrowser and navigate it to a
custom URI (which begins with "lbxfile:" and contains the data necessary to
locate the data file and identify the file inside it).
Our app installs and runs fine on IE6 on Windows 98, ME, 2000, XP, IE 7 Beta
1 on XP, and build 5112 of Vista. When Vista build 5270 came out, we
installed it on a test computer and installed our product on it.
Unfortunately, our app does not work on this build of Vista.
It appears that the WebBrowser is refusing to load script from absolute URIs
that begin with "lbxfile:" (our custom protocol's prefix). It will load
script from relative paths (which our pluggable protocol combines with the
absolute URI of the base HTML file to form a full URI).
We tried adjusting the "Internet Zone" security settings in IE to be as
permissive as possible. (After doing this, Vista warned us that our security
settings were too low when attempting to browse the web, and would not let us
browse until they were raised.) This did not appear to fix the problem.
The only thing that appeared to work was to always load script by using
relative paths. This would be a fairly expensive change for our app (since we
have many separate data files and often want to load script from multiple
files, making absolute URIs easier to work with).
Is there a new interface we need to support to override security zone
settings? We couldn't find any documentation in the Platform SDK beyond the
new interfaces added for IE6 SP2 (with which our program runs successfully).
Or is this a bug in Vista build 5270? Note that IE7 Beta 1 on XP causes no
problems for our app.
Thanks,
Bradley