For one of our desktop applications we use a HTML-based interface, loaded from local files into a WebBrowser control.
This works fine, but now we want to load the files from a different source, and are trying to stream them in using IPersistStreamInit (like this example on MSDN). It seems to work OK, except for the referenced javascript .js files (JQuery et al). It tries to load those from the "about:" location resulting in errors.
What I would really like is to get a callback event whenever additional files are streamed, and substitute the right data. That might be asking for a bit too much though, so suggestions for workarounds are welcome!