Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A handy troubleshooting tip..

A handy troubleshooting tip..

Scheduled Pinned Locked Moved The Lounge
css
13 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steve Dubyo
    wrote on last edited by
    #1

    I just came across the following troubleshooting tip in VS2005. "When casting from a number, the value must be less than infinity." Screenshot[^] Useful to know !

    ;-]

    realJSOPR D B 3 Replies Last reply
    0
    • S Steve Dubyo

      I just came across the following troubleshooting tip in VS2005. "When casting from a number, the value must be less than infinity." Screenshot[^] Useful to know !

      ;-]

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #2

      That would make a great t-shirt.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      S 1 Reply Last reply
      0
      • S Steve Dubyo

        I just came across the following troubleshooting tip in VS2005. "When casting from a number, the value must be less than infinity." Screenshot[^] Useful to know !

        ;-]

        D Offline
        D Offline
        Dalek Dave
        wrote on last edited by
        #3

        Makes sense, Div0 is ∞

        ------------------------------------ Credit is a system whereby a person who can not pay gets another person who can not pay to guarantee that he can pay. - Charles Dickens

        S L P 3 Replies Last reply
        0
        • S Steve Dubyo

          I just came across the following troubleshooting tip in VS2005. "When casting from a number, the value must be less than infinity." Screenshot[^] Useful to know !

          ;-]

          B Offline
          B Offline
          blackjack2150
          wrote on last edited by
          #4

          For taking screen shots of application windows, GIF is usually better than JPEG.

          S L 2 Replies Last reply
          0
          • B blackjack2150

            For taking screen shots of application windows, GIF is usually better than JPEG.

            S Offline
            S Offline
            Steve Dubyo
            wrote on last edited by
            #5

            Now that IS a handy tip, thanks.

            ;-]

            1 Reply Last reply
            0
            • D Dalek Dave

              Makes sense, Div0 is ∞

              ------------------------------------ Credit is a system whereby a person who can not pay gets another person who can not pay to guarantee that he can pay. - Charles Dickens

              S Offline
              S Offline
              Steve Dubyo
              wrote on last edited by
              #6

              I suppose you're right, still, made me chuckle. Not sure what it's got to do with the dbnull/date cast though!

              ;-]

              L 1 Reply Last reply
              0
              • D Dalek Dave

                Makes sense, Div0 is ∞

                ------------------------------------ Credit is a system whereby a person who can not pay gets another person who can not pay to guarantee that he can pay. - Charles Dickens

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #7

                Dalek Dave wrote:

                Makes sense, Div0 is ∞

                Oh dear! 1/0 = dividebyzeroexception 1/0.0 = ∞

                xacc.ide - now with TabsToSpaces support
                IronScheme - 1.0 beta 1 - coming soon
                ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                1 Reply Last reply
                0
                • D Dalek Dave

                  Makes sense, Div0 is ∞

                  ------------------------------------ Credit is a system whereby a person who can not pay gets another person who can not pay to guarantee that he can pay. - Charles Dickens

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #8

                  Dalek Dave wrote:

                  Makes sense, Div0 is ∞

                  Nah - it's nullity[^].

                  Deja View - the feeling that you've seen this post before.

                  My blog | My articles | MoXAML PowerToys

                  D R 2 Replies Last reply
                  0
                  • B blackjack2150

                    For taking screen shots of application windows, GIF is usually better than JPEG.

                    L Offline
                    L Offline
                    leppie
                    wrote on last edited by
                    #9

                    Use PNG. Depending on pallete selection, GIF's can be lossy.

                    xacc.ide - now with TabsToSpaces support
                    IronScheme - 1.0 beta 1 - coming soon
                    ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                    1 Reply Last reply
                    0
                    • S Steve Dubyo

                      I suppose you're right, still, made me chuckle. Not sure what it's got to do with the dbnull/date cast though!

                      ;-]

                      L Offline
                      L Offline
                      leppie
                      wrote on last edited by
                      #10

                      influenz wrote:

                      Not sure what it's got to do with the dbnull/date cast though!

                      One of the DateTime constructors take a ticks parameter.

                      xacc.ide - now with TabsToSpaces support
                      IronScheme - 1.0 beta 1 - coming soon
                      ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                      1 Reply Last reply
                      0
                      • P Pete OHanlon

                        Dalek Dave wrote:

                        Makes sense, Div0 is ∞

                        Nah - it's nullity[^].

                        Deja View - the feeling that you've seen this post before.

                        My blog | My articles | MoXAML PowerToys

                        D Offline
                        D Offline
                        Dalek Dave
                        wrote on last edited by
                        #11

                        I bow to superior knowledge! I just did it to show I know how to pull up an infinity symbol! :)

                        ------------------------------------ Credit is a system whereby a person who can not pay gets another person who can not pay to guarantee that he can pay. - Charles Dickens

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          That would make a great t-shirt.

                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          S Offline
                          S Offline
                          Scott Dorman
                          wrote on last edited by
                          #12

                          Done! http://www.cafepress.com/sdorman[^]

                          Scott Dorman

                          Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines]


                          Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

                          1 Reply Last reply
                          0
                          • P Pete OHanlon

                            Dalek Dave wrote:

                            Makes sense, Div0 is ∞

                            Nah - it's nullity[^].

                            Deja View - the feeling that you've seen this post before.

                            My blog | My articles | MoXAML PowerToys

                            R Offline
                            R Offline
                            Rich Leyshon
                            wrote on last edited by
                            #13

                            Pete O'Hanlon wrote:

                            Makes sense, Div0 is ∞ Nah - it's nullity[^].

                            Well, if you perform the calculation within the confines of a Messagebox statement, rather than an exception, you will receive the result "infinity" and not "nullity"! Rich :)

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups