Can you attach a callstack?
Start another instance of VS, choose debug >> Processes... >> Devenv.exe >>
Attach, then Debug >> Exceptions >> Common Language Runtime Exceptions, and
choose "Break" under "When an Exception is thrown". Then cause the error in
the original instance of VS, and the second one will break. Paste in the
callstack and maybe I can see what's going wrong.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. ? 2002 Microsoft Corporation. All rights
> error: Object reference not set to an instance of an object
> I get this error when I try to add any control to the
> I tried to create another form in the same project and get
> the same thing. I have to create a whole new project/
> Anyone know how to fix this ? Otherwise I have to start
> all over :(