05.27
Homepage
After rewriting VMBT to use Internet Explorer for its chat-view, I’ve discovered a few snags. The component is loaded in to the .NET via COM, and all content is added through the DOM. Using a web browser for this view opened a lot of possibilities. The most important one is JavaScript. With the JavaScript we also have access to methods exposed from .NET, which mean I can interact with the application in the “web site”. To make things a bit more simple, I loaded the jQuery framework to my component. This is when the trouble was starting.
For some reason IE couldn’t read the jquery.js-file from “file://c:\blabla\installationpath\data\jquery.js” unless the file was copied there and not “installed” by the installation software (Nullsoft Install System). At first I thought it might be due to some corruption, but after seeing the file was identical to the source file I understood it had to be an access problem. However, I was unable to verify this with the ACL-management provided by Windows, there were no differences between a copy that was working and one that wasn’t. It’s a really stupid problem, and I’ve still no solutions for it.
So to be able to debug this a bit further, I decided to throw in the latest Internet Explorer (8) with a bunch of updates etc. This failed miserably since now the whole problem disappeared altogether.
I can’t find any information about this problem, the IE-component doesn’t say anything when it can’t open files and it probably requires great, and unheard of, skills of managing Windows.
My best solution right now is to upgrade to the latest Internet Explorer if you haven’t already done so. (There isn’t really any good reason in this world to either USE the browser or for you to NOT upgrade it. So go upgrade it, and use Firefox instead :))