On occasion, I get the following error in design mode of some user controls in Visual Studio 2008:
The file \'UserControl.vb\' does not support code
It is a bug in VS. It happens in VS2005 as well.
Don't waste your time: close VS, open it again and everything should work fine.