Possible VB.Net bug when first form loads

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).
 
H

Herfried K. Wagner [MVP]

* "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...
 
P

Peter Huang [MSFT]

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

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