I had to reinstall Visual Studio.NET 2003 and ever since then I get this
error whenever my application tries to open a WindowsForm. Even the simplest
project with nothing more than a WindowsForm and a single button and no
custom code at all.

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

I never had this problem before... Is there something in my environment that
I need to set?






----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---

Re: An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll by Herfried

Herfried
Thu Dec 08 16:53:53 CST 2005

"microsoft.public.dotnet.framework.windowsforms" <ndeans@hotmail.com>
schrieb:
>I had to reinstall Visual Studio.NET 2003 and ever since then I get this
> error whenever my application tries to open a WindowsForm. Even the
> simplest
> project with nothing more than a WindowsForm and a single button and no
> custom code at all.
>
> An unhandled exception of type 'System.ArithmeticException' occured in
> system.drawing.dll
> Additional information: Overflow or underflow in the arithmetic operation.

I assume that this problem is related to the fonts you are using. Maybe
resetting the control's/form's 'Font' property or setting it to "Tahoma" or
similar will solve the problem.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll by microsoft

microsoft
Thu Dec 08 21:33:38 CST 2005

Hmmm, that didn't work. Ya know, it doesn't seem to matter what form it is.
Every form I create has this problem.


"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:eHqp9oE$FHA.2264@tk2msftngp13.phx.gbl...
> "microsoft.public.dotnet.framework.windowsforms" <ndeans@hotmail.com>
> schrieb:
> >I had to reinstall Visual Studio.NET 2003 and ever since then I get this
> > error whenever my application tries to open a WindowsForm. Even the
> > simplest
> > project with nothing more than a WindowsForm and a single button and no
> > custom code at all.
> >
> > An unhandled exception of type 'System.ArithmeticException' occured in
> > system.drawing.dll
> > Additional information: Overflow or underflow in the arithmetic
operation.
>
> I assume that this problem is related to the fonts you are using. Maybe
> resetting the control's/form's 'Font' property or setting it to "Tahoma"
or
> similar will solve the problem.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>
>



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----