Category : Uncategorized

09 Nov

The greatest app ever, evolved!

by Marco Mastropaolo

Laugh, if you want. But really this is one of the major reasons we are using Windows today. Back in the days Windows (2.x) was not really popular and some applications (most notably Excel) had to redistribute a small Windows with themselves. Then came Windows 3.0. And 3.1. And everybody dropped WordPerfect and 1-2-3 for [...]

Filed Under: Uncategorized

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 [...]

25 Oct

memcpy in vb.net (x86 only)

by Marco Mastropaolo

This is a small memcpy implementation in VB.Net (x86 only! — x64 version to follow) #If PLATFORM = “x86″ Then <system .Runtime.InteropServices.DllImport(“kernel32.dll”)> _ Private Shared Sub RtlMoveMemory(ByVal Destination As Int32, ByVal Source As Int32, ByVal Length As Int32) End Sub Public Sub MemCpy(ByVal dstbase As IntPtr, ByVal dstofs As Integer, ByVal srcbase As IntPtr, ByVal [...]

Filed Under: Uncategorized