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. Other Discussions
  3. The Weird and The Wonderful
  4. Stupid of the day

Stupid of the day

Scheduled Pinned Locked Moved The Weird and The Wonderful
testingdebuggingbeta-testingquestion
7 Posts 6 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.
  • G Offline
    G Offline
    Gary Wheeler
    wrote on last edited by
    #1

    I'm testing a function that pastes information from the clipboard into several fields in my application. I'm stepping through it in the debugger, and the string returned by Clipboard.GetText() is:

    "Clipboard.GetText()"

    I'm flabbergasted. How the f*** does Clipboard.GetText() return its own name? ... (minutes of furious mouse clicking and keyboard pounding) ... Finally I realize the last thing I had done was copied "Clipboard.GetText()" to the clipboard for pasting in my code. :doh:

    Software Zen: delete this;

    N L Sander RosselS R 4 Replies Last reply
    0
    • G Gary Wheeler

      I'm testing a function that pastes information from the clipboard into several fields in my application. I'm stepping through it in the debugger, and the string returned by Clipboard.GetText() is:

      "Clipboard.GetText()"

      I'm flabbergasted. How the f*** does Clipboard.GetText() return its own name? ... (minutes of furious mouse clicking and keyboard pounding) ... Finally I realize the last thing I had done was copied "Clipboard.GetText()" to the clipboard for pasting in my code. :doh:

      Software Zen: delete this;

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      have you tried re-booting the developer?


      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

      G R 2 Replies Last reply
      0
      • N Nagy Vilmos

        have you tried re-booting the developer?


        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

        G Offline
        G Offline
        Gary Wheeler
        wrote on last edited by
        #3

        Reboot in progress; it's 6:38 a.m. here[^], and I'm only on my first cup of coffee. Believe it or not, but the little red symbol points almost exactly at the location of my cube in the building.

        Software Zen: delete this;

        1 Reply Last reply
        0
        • N Nagy Vilmos

          have you tried re-booting the developer?


          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

          R Offline
          R Offline
          Rob Grainger
          wrote on last edited by
          #4

          Nagy Vilmos wrote:

          have you tried re-booting the developer?

          FTFY

          1 Reply Last reply
          0
          • G Gary Wheeler

            I'm testing a function that pastes information from the clipboard into several fields in my application. I'm stepping through it in the debugger, and the string returned by Clipboard.GetText() is:

            "Clipboard.GetText()"

            I'm flabbergasted. How the f*** does Clipboard.GetText() return its own name? ... (minutes of furious mouse clicking and keyboard pounding) ... Finally I realize the last thing I had done was copied "Clipboard.GetText()" to the clipboard for pasting in my code. :doh:

            Software Zen: delete this;

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            :thumbsup: That's what you get if you code on an early Monday morning.

            "Don't confuse experts with facts" - Eric_V

            1 Reply Last reply
            0
            • G Gary Wheeler

              I'm testing a function that pastes information from the clipboard into several fields in my application. I'm stepping through it in the debugger, and the string returned by Clipboard.GetText() is:

              "Clipboard.GetText()"

              I'm flabbergasted. How the f*** does Clipboard.GetText() return its own name? ... (minutes of furious mouse clicking and keyboard pounding) ... Finally I realize the last thing I had done was copied "Clipboard.GetText()" to the clipboard for pasting in my code. :doh:

              Software Zen: delete this;

              Sander RosselS Offline
              Sander RosselS Offline
              Sander Rossel
              wrote on last edited by
              #6

              Stuff like that can keep me busy for hours! :laugh: :thumbsup:

              It's an OO world.

              1 Reply Last reply
              0
              • G Gary Wheeler

                I'm testing a function that pastes information from the clipboard into several fields in my application. I'm stepping through it in the debugger, and the string returned by Clipboard.GetText() is:

                "Clipboard.GetText()"

                I'm flabbergasted. How the f*** does Clipboard.GetText() return its own name? ... (minutes of furious mouse clicking and keyboard pounding) ... Finally I realize the last thing I had done was copied "Clipboard.GetText()" to the clipboard for pasting in my code. :doh:

                Software Zen: delete this;

                R Offline
                R Offline
                RyanEK
                wrote on last edited by
                #7

                :laugh: that's funny. That reminds me of the time my web page kept returning an error when I was trying to view a text file. That is until I realised, the file contained text of a web page error. It must have been a Monday.

                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