Home All Groups Group Topic Archive Search About

InnerException in VB 2005

Author
4 Feb 2006 11:28 PM
fripper
I have a VB program that I created in VB .Net 2003 that I am trying to get
running in VB 2005 ... LunarLander.  The upgrade wizard tells me about a few
problems that I have fixed but when I try to run the prgram in debug mode I
immediately get an exception with the following line (the first line) in the
designer.vb file highlighted:

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> Partial
Class LunarLander

and the phrase LunarLander is highlighted in yellow.  The following message
appears:

An error occurred creating the form. See Exception.InnerException for
details.  The error is: Object reference not set to an instance of an
object.

I don't have clue what is happening ... or how to find out what's happening.
Can someone explain what might be happening or point me to a sourrce that
will help.

Thanks.

Author
5 Feb 2006 6:55 AM
Cor Ligthert [MVP]
Fripper,

Try to set a '  before that declaration that tells that it should not be
debugged.

Maybe the error shows than on a better place.

Cor