Do you have api calls, such as overloading the window proc?

If so this is known to crash, your vb program and the vb development environment as well.