Results 1 to 3 of 3

Thread: System.Drawiing.Dll Error as soon as i draw ANYTHING! HELP!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Posts
    25

    System.Drawiing.Dll Error as soon as i draw ANYTHING! HELP!

    As soon as I draw anything on a form in vb.net and
    try to run it, i get this error message:

    An unhandled exception of type 'System.ArithmeticException' occurred in system.drawing.dll

    Additional information: Overflow or underflow in the arithmetic operation.

    It points to the code that vb.net generates. I can't draw anything on the form. As soon as i draw a label or button and run it i get that message. Any ideas? Should I get a new copy of the system.drawing.dll?

    Thanks

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    This doesn't neccessarily mean the file is corrupt . Maybe your code is generating that error . Check for overflow values , you might need to turn option strict on for this purpose .

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Posts
    25
    its in the code that .net automatically generates? Why would it
    all of a sudden just start with these errors. It worked fine last week. Now I can't even place one label on a form without it causing the system.drawing error. I'll try the option strict though.
    thanks, ive posted this message on 5 different boards and your the first to answer me. I have so much homework to do and I cant even do it because of this. I reinstalled .net and the framework, but it still has that error.

    thanks

    MCM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width