Possible VB.Net bug when first form loads

  • Thread starter Thread starter Ron Sellers
  • Start date Start date
R

Ron Sellers

I have built a VB.Net app that runs fine when the Windows
desktop resolution is set to normal (100%).

When the Display Properties>Settings>Advanced>Display>Font
Size is set to "Large Fonts" rather than "Small Fonts" I
get an error :

"An unhandled exception of
type 'System.NullReferenceException' occurred in Unknown
Module. Additional information: Object reference not set
to an instance of an object."

This error happens when the application loads in the
development environment (before the first form displays).
 
* "Ron Sellers said:
I have built a VB.Net app that runs fine when the Windows
desktop resolution is set to normal (100%).

When the Display Properties>Settings>Advanced>Display>Font
Size is set to "Large Fonts" rather than "Small Fonts" I
get an error :

"An unhandled exception of
type 'System.NullReferenceException' occurred in Unknown
Module. Additional information: Object reference not set
to an instance of an object."

This error happens when the application loads in the
development environment (before the first form displays).

You will have to debug...
 
Hi Ron,

I have replied to you in the newsgroup below.
microsoft.public.vsnet.general

Please go to have a check and let me know the result.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
 
Back
Top