Microsoft Development Environment

faisalali129

New member
Joined
May 7, 2005
Messages
4
Programming Experience
3-5
i am receving this error when ever i run my progam plz help me out thanks

Error:

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

kulrom

Well-known member
Joined
May 10, 2005
Messages
2,854
Location
Republic of Macedonia
Programming Experience
10+
if you are doing an arithmetic calculation, you must handle ArithmeticException and DivideByZeroException. As you know exception (You need to catch only the 'expected' exceptions) you can easily find what causing this error :
See the sample below:


Try
'Code which can cause an arithmetic exception.

Catch ex As System.ArithmeticException

MessageBox.Show(Ex.Message & "An arithmetic exception occurred.")

EndTry


Cheers ;)
 

brianl-dd

New member
Joined
Nov 18, 2005
Messages
1
Programming Experience
1-3
I'm having the same issue as the original poster.

The error states
:MS Development Environment is not installed for the current user, run setup.

This happens before the environment is loaded. The only thing that i know fixes it is uninstalling and reinstalling vs 2003. Considering the large amount of time this takes and that it has happened multiple times, its not a solution for me.

Somehow i lost permision to use it, though i am an admin on my machine.
 

Pace

Well-known member
Joined
Sep 2, 2005
Messages
90
Location
Manchester UK! :)
Programming Experience
1-3
Is this locally or are you on a network?
 
Top Bottom