.Net Error   "'System.ArithmeticException' occurred in system.drawing.dll"?
492653
sounds like your either entering a number that is too big or too small for a particular data type. if your using int try to switch to long and see if that works.
620139
Dear\n If you have worked  with Dcom. If you know about Ado object. there was a problem with them (versions problem) called DLL hell . they have removed it in ADO.net. they provide disconnected data set . More faster development   if a problem takes 7 days in java to fix you can do it in one day with dot net . And there are alto  of issues like this .
795208
download.com\nsearch for mathtype software and download it!\nall the best!
830076
you can't really "catch" them per se, as they are really not errors, unlike floating point overflows. \nYou can do some sanity checks like the above answer explained...\nor better, just use larger storage - like unsigned long long - that'll give you more space without overflowing.
695201
Just choose a compiler from this list:\n\nhttp://www.thefreecountry.com/compilers/csharp.shtml
273902
Here are functions to go both ways from my Calculator program in VB6. You'll have to convert it into C++, but that shouldn't be too hard. E-mail me later if you can'c figure out how to convert it to C++...\n\n' sRomanStr = GetDecRomanStr( 234 )\nPublic Function GetDecRomanStr(ByVal xDecimal As Double) As String\n    Dim iThousands, iHundreds, iTens, iOnes As Integer\n    Dim sReturnStr As String\n    Dim sHunds(9) As String\n    Dim sTens(9) As String\n    Dim sOnes(9) As String\n    \n    sHunds(1) = "C"\n    sHunds(2) = "CC"\n    sHunds(3) = "CCC"\n    sHunds(4) = "CD"\n    sHunds(5) = "D"\n    sHunds(6) = "DC"\n    sHunds(7) = "DCC"\n    sHunds(8) = "DCCC"\n    sHunds(9) = "CM"\n    sTens(1) = "X"\n    sTens(2) = "XX"\n    sTens(3) = "XXX"\n    sTens(4) = "XL"\n    sTens(5) = "L"\n    sTens(6) = "LX"\n    sTens(7) = "LXX"\n    sTens(8) = "LXXX"\n    sTens(9) = "XC"\n    sOnes(1) = "I"\n    sOnes(2) = "II"\n    sOnes(3) = "III"\n    sOnes(4) = "IV"\n    sOnes(5) = "V"\n    sOnes(6) = "VI"\n    sOnes(7) = "VII"\n    sOnes(8) = "VIII"\n    sOnes(9) = "IX"\n    \n    iThousands = (xDecimal - (xDecimal Mod 1000)) / 1000\n    xDecimal = xDecimal Mod 1000\n    iHundreds = (xDecimal - (xDecimal Mod 100)) / 100\n    xDecimal = xDecimal Mod 100\n    iTens = (xDecimal - (xDecimal Mod 10)) / 10\n    xDecimal = xDecimal Mod 10\n    iOnes = xDecimal\n    \n    sReturnStr = ""\n    For iCount = 1 To iThousands\n        sReturnStr = sReturnStr + "M"\n    Next\n    If iHundreds > 0 Then\n        sReturnStr = sReturnStr + sHunds(iHundreds)\n    End If\n    If iTens > 0 Then\n        sReturnStr = sReturnStr + sTens(iTens)\n    End If\n    If iOnes > 0 Then\n        sReturnStr = sReturnStr + sOnes(iOnes)\n    End If\n    GetDecRomanStr = sReturnStr\nEnd Function\n\n' xDecimal = GetRomanDecNum( sRomanStr )\nPublic Function GetRomanDecNum(ByVal sRomanStr As String) As Double\n    Dim xDecimal As Double\n    Dim sStr As String\n        \n    sStr = Left(sRomanStr, 1)\n    While sStr = "M"\n        xDecimal = xDecimal + 1000\n        sRomanStr = Right(sRomanStr, Len(sRomanStr) - 1)\n        sStr = Left(sRomanStr, 1)\n    Wend\n    \n    iHunds = 0\n    If Left(sRomanStr, 2) = "CM" Then\n        iHunds = 9\n        sRomanStr = Right(sRomanStr, Len(sRomanStr) - 2)\n    Else\n        If Left(sRomanStr, 1) = "D" Then\n            iHunds = 5\n            sRomanStr = Right(sRomanStr, Len(sRomanStr) - 1)\n        Else\n            If Left(sRomanStr, 2) = "CD" Then\n                iHunds = 4\n                sRomanStr = Right(sRomanStr, Len(sRomanStr) - 2)\n            End If\n        End If\n    End If\n    If iHunds = 0 Or iHunds = 5 Then\n        sStr = Left(sRomanStr, 1)\n        While sStr = "C"\n            iHunds = iHunds + 1\n            sRomanStr = Right(sRomanStr, Len(sRomanStr) - 1)\n            sStr = Left(sRomanStr, 1)\n        Wend\n    End If\n    xDecimal = xDecimal + iHunds * 100\n    \n    iTens = 0\n    If Left(sRomanStr, 2) = "XC" Then\n        iTens = 9\n        sRomanStr = Right(sRomanStr, Len(sRomanStr) - 2)\n    Else\n        If Left(sRomanStr, 1) = "L" Then\n            iTens = 5\n            sRomanStr = Right(sRomanStr, Len(sRomanStr) - 1)\n        Else\n            If Left(sRomanStr, 2) = "XL" Then\n                iTens = 4\n                sRomanStr = Right(sRomanStr, Len(sRomanStr) - 2)\n            End If\n        End If\n    End If\n    If iTens = 0 Or iTens = 5 Then\n        sStr = Left(sRomanStr, 1)\n        While sStr = "X"\n            iTens = iTens + 1\n            sRomanStr = Right(sRomanStr, Len(sRomanStr) - 1)\n
550884
I tried this in Visual Basic 2005 / .NET 2.0.  Assuming you are running a reasonably up-to-date version of VB, the functions are ...\n\nTo always round DOWN:\n\nMath.Floor(x)\n\nand to always round UP (as requested):\n\nMath.Ceiling(x)\n\nwhere x is a Double or Decimal.  The documentation below gives more details.
767431
you need to cast the value. try this\n\nDouble.parseDouble(someStingValue);\nyou can use the variable as a double then.
698011
The error is +/- 0.01.\n\nThe value then is: 6.02 +/- 0.01
374589
try this free trial,it can repair .dll errors\n\nhttp://www.healthycomputerclub.com/Software/PCRescue/index.html
743647
Dim i, total As Integer\ntotal = 0\nFor i = 0 To Integer.Parse(TextBox1.Text) Step 2\n     total += i\nNext\nMsgBox(total.ToString())
434435
It may be easier to use an array list.\n\n  Dim al As New ArrayList()\n\n   al.Add("This")\n   al.Add("Is")\n   al.Add("My")\n   al.Add("New")\n   al.Add("ArrayList")\n   al.Add("Control")\n\n   Console.WriteLine("Before Sort:")\n   WriteElements(al)\n\n   al.Sort()\n\n   Console.WriteLine("After Sort:")\n   WriteElements(al)\n End Sub\n\n Private Sub WriteElements(ByVal al As ArrayList)\n   Dim i As Integer\n   \n   For i = 0 To al.Count - 1\n     Console.WriteLine(CStr(al.Item(i)))\n   Next
576294
.NET due to its future plateform independence and low size of executable or dll
511148
try this\n\nstart -> run -> cmd (or windowskey+R)\n\nnow type regedit.\n\nTell use the error and we might be able to help.
154602
Just click on the calcutator shortcut. Are you talking about in a program. Do you have calculator installed...if not install in under Add and Remove;windows setup.
904753
this error usually occurs if your computer needs updated video cards/ DirectX drivers, if your system failed to meet the minimum requirements that the game reqires in order to properly play it, or if your computer's video card is integrated into your system's motherboard...\n\nsource: www.activisionvalue.com
67337
Here is support information for that error.\nhttp://support.microsoft.com/?scid=kb;en-us;303089&spid=2514&sid=312