'System.ArithmeticException' occurred in system.drawing.dll

  • Thread starter Thread starter conckrish
  • Start date Start date
C

conckrish

Hi all...

I am trying to create a Windows Application in VS.NET. If I
create a new app
in either VB or C# and add any control, I get the following message
when I run the app:

An unhandled exception of type 'System.ArithmeticException' occurred in

system.drawing.dll
Additional information: Overflow or underflow in the arithmetic
operation.

If I remove all controls, it runs fine, albeit with a blank form. But
the Web applications r working fine.. Plz give a correct solution....

Looking forward ur Reply...


Regards,
Krish.
 
I am trying to create a Windows Application in VS.NET. If I
create a new app
in either VB or C# and add any control, I get the following message
when I run the app:

An unhandled exception of type 'System.ArithmeticException' occurred in

system.drawing.dll
Additional information: Overflow or underflow in the arithmetic
operation.

Maybe the problem is caused by the fonts you are using. Try changing the
form's and controls' font to Tahoma, maybe this fixes the problem.
 
Back
Top