NullReference Exception while using classes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Reg: vb.net-pocket pc

My application is not recognizing the new classes which I am creating now.
Till yesterday, I have created 18 classes, 13 forms and 1 module. Today I
have created one more class and used its object in one form. No compile time
errors. But while running, system.nullreference exception is generated.

So for testing, I have created another class with only one line of
code(msgbox) inside it. But while runtime, it is giving the same error.

So in smartdevice programming using vb.net, is there any limitation in the
number of classes created? Otherwise could you please predict the error?

Regards,
Hari
 
Give us a clue. Where in the code do you get the exception, on which line?
Run it under the debugger and see where it breaks then share the code if you
are still in doubt.

Cheers
Daniel
 
Back
Top