Groups | Blog | Home
all groups > dotnet drawing api > august 2003 >

dotnet drawing api : Arithmetic Exception upon loading form


Stoetti
8/14/2003 8:23:48 AM
I have a big problem with .NET.

I know that this problem is already treated in the Microsoft Knowledge =
Base Article - 326219
http://support.microsoft.com/default.aspx?scid=3Dhttp://support.microsoft=
..com:80/support/kb/articles/q326/2/19.asp&NoWebContent=3D1
but the solution which is provided by Microsoft won't work on my machine =
and is not very comfortable.

Short Description:
As long as I have an empty From in my Windows Application everything =
works fine, but as soon as I add any kind of Control (e.g. a Button) to =
the Form I get the following Exception in the InitializeComponents =
method

An unhandled exception of type 'System.ArithmeticException' occurred in =
system.drawing.dll
Additional information: Overflow or underflow in the arithmetic =
operation.

I read on a discussion board that this is caused by something called FPU =
Exceptions which could be enabled by a hardware part of my machine.
Is there a Way to find out which part? Or is there a Way to turn them =
off except the one on the MS Site?

Any Solutions???

Regards
JHornick NO[at]SPAM online.microsoft.com
8/19/2003 9:10:52 PM
Hi,

In my experience, it's usually a driver which unmasks the FPU exceptions.
You might try removing or changing your printer and/or video drivers, for
example.

Thanks,
- John
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit http://www.microsoft.com/security for current information on security.



[quoted text, click to view]
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q326/2/19.asp&NoWebContent=1
[quoted text, click to view]
works fine, but as soon as I add any kind of Control (e.g. a Button) to the
Form I get the following Exception in the InitializeComponents method
[quoted text, click to view]

Mike
8/21/2003 12:01:13 PM
Thx for your Support, I already read about this possibility on the Net,
but a friend of mine uses exactly the same notebook with one difference,
he works on Visual Studio .NET, I'm using the newer version 2003.

He has no problems setting up and running a Windows Application.

Mike

[quoted text, click to view]
AddThis Social Bookmark Button