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

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

Herfried K. Wagner [MVP]

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.
 

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