Category : Programming

12 Feb

Ajax problem on Firefox

by Marco Mastropaolo

Just a quick problem report with solution. If you get : Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]” nsresult: “0×80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: http://www.********.*** :: **** :: line **” data: no] Check if you did a “xhr.send(null);” and convert to “xhr.send(”);”. Don’t ask me why, it worked for me. Take it [...]

Filed Under: Code Snippets, Programming

08 Nov

Shell extensions in C# and/or VB.NET

by Marco Mastropaolo

Update: .NET 4.x and later should allow different .NET versions to be loaded side-by-side in the same process, so the argument below probably does not stand anymore (if your extensions use .NET 4.x or later). It’s still dangerous waters in my opinion. —   Please, repeat with me. I WILL NEVER WRITE SHELL EXTENSIONS IN [...]

26 Oct

IE7, Javascript, the WebBrowser control and bugs

by Marco Mastropaolo

Problem Internet Explorer 7 (IE7) has been released. Applications around the world are breaking. … Well at least mine failed. If you use the WebBrowser control in .NET applications or shdocwv ActiveX control you may hit this issue. If you load the html by navigating to “about:blank” and then using DocumentText, AND you are including [...]