By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,750 Members | 1,003 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,750 IT Pros & Developers. It's quick & easy.

Overflow or Underflow arithmetic exception

P: n/a
As an experienced Java Programmer, trust me on this,
stick with .NET if you are already using it.

It's hard to tell based on what you post. Is all of your
code wrapped in an exception handler? Somewhere when the
form is initialized or Form Load, I'd add a try catch and
trap System.ArithmeticException... Step through each
line with the debugger and if you post the line (ideally
with the whole code snippet) I think we can figure it out.

If it still throws the exception on that particular line,
you may have a bad .dll or something of that sort.
It's much different to say that VS.NET is buggy and the
Framework is buggy (every new technology is). The IDE
does a lot of stuff, but as far as builds go, there's
probably a reason fo rthis.

We can fix it.



W.G. Ryan
-----Original Message-----
There are lots of bugs in VS.NET. When I run my any program it promptsme exception on line "Public Class Form1" the exception is :--------------------------------------------------------- ---------------------"An unhandled exception of type 'System.ArithmeticException' occuredin system.drawing.dll

Additional information : Overflow or underflow in the arithmeticoperation"
--------------------------------------------------------- ---------------------
Even if I recompile my already made programs this problem persists.Any 1 hv any idea? or the last step is to leave VS.NET and migrate toJAVA like entire world?

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.