InnerException in VB 2005

F

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.
 
C

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top