Apparently you shouldn't set a VB.NET Windows.Forms control to Nothing, you should call its .Dispose() method instead.