471,326 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

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

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.

Feb 15 '06 #1
1 1711
co*******@gmail.com wrote:
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


Hi Krish. A number of people have experienced this problem. This will occur
if you manipulated the floating-point control register (Q326219), but I
assume you have not done this - however, it is possible you are using a
driver or have a third-party program installed which is doing so. The best
advice I can give you right now is this: Try rebooting in safe mode, which
is Standard VGA only. See if it still reproduces. If it does, try updating
your graphics card driver, and then if that doesn't work, try changing your
graphics card. Try reinstalling the .NET Framework. If none of this helps,
try uninstalling applications or devices that might be interfering. As a
last resort, reformatting and reinstalling the OS might eliminate the
conflicting component. Sorry that I can't suggest a less drastic action.
--
Derrick Coetzee, MCAD, MSFT (Speech Server)
This posting is provided "AS IS" with no warranties, and confers no
rights.
Feb 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Terrence | last post: by
11 posts views Thread by Andreas Wirén | last post: by
6 posts views Thread by tom k. | last post: by
3 posts views Thread by mfc2004 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.