Arithmetic Exception upon loading form

S

Stoetti

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/defaul...port/kb/articles/q326/2/19.asp&NoWebContent=1
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
Michael
 
P

pouya

-----Original Message-----
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=http://support.microsoft..com:80/support/kb/articles/
q326/2/19.asp&NoWebContent=1
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?
 

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