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. Thanks to the guy at Microsoft

Thanks to the guy at Microsoft

Scheduled Pinned Locked Moved The Lounge
databasecomhelp
25 Posts 14 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.
  • C Christian Graus

    who decided it would be CRAZY if I could select or otherwise make copies of text in error messages shown with a message box.

    Christian Graus My new article series is all about SQL !!!

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #14

    And why is it always in the middle of the screen? Why does it expand to fit it's content, even if that is too big for the screen? :mad: These are reasons I wrote this tip: ErrorMessageBox: an improved MessageBox for error reports[^] - so at least my errors could be copy'n'pasted to an email... :sigh:

    Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    D 1 Reply Last reply
    0
    • C Christian Graus

      who decided it would be CRAZY if I could select or otherwise make copies of text in error messages shown with a message box.

      Christian Graus My new article series is all about SQL !!!

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

      You can try debugging it will get you the error text

      My Name in English[^] Translation done By OriginalGriff

      C 1 Reply Last reply
      0
      • L Lost User

        You can try debugging it will get you the error text

        My Name in English[^] Translation done By OriginalGriff

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #16

        Interestingly, I didn't write all of the programs I run :-)

        Christian Graus My new article series is all about SQL !!!

        P L 2 Replies Last reply
        0
        • C Christian Graus

          Interestingly, I didn't write all of the programs I run :-)

          Christian Graus My new article series is all about SQL !!!

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

          You beat me to the punch with that answer.

          1 Reply Last reply
          0
          • L ledtech3

            You can sometimes select the error box and hit Ctl+c then paste to notepad. Does not always work though.

            V Offline
            V Offline
            Valery Possoz
            wrote on last edited by
            #18

            That's the best tip ever!

            1 Reply Last reply
            0
            • C Christian Graus

              who decided it would be CRAZY if I could select or otherwise make copies of text in error messages shown with a message box.

              Christian Graus My new article series is all about SQL !!!

              S Offline
              S Offline
              Sentenryu
              wrote on last edited by
              #19

              Actually, you're wrong on that one. on ANY native windows dialog (does not work if the developer used a window with a label on it, it must be a dialog) you can just select the dialog (i.e.: by clicking on the title bar) and then press ctrl+c, that will copy the entire window text (including title and buttons). you can then paste it on notepad and select just the bit you want. the only problem is that it's becoming each time rarer to find native windows dialogs, because developers think they can do better, but most of the windows error messages still are shown on those dialogs.

              C 1 Reply Last reply
              0
              • C Christian Graus

                Except it's usually the #592982359058912847987923$sdj32 error.

                Christian Graus My new article series is all about SQL !!!

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

                Jeez man, don't you know you're error codes yet? That's just the firzby is missing or misconfigured, the 86 character base64 code in the message should clearly tell what is missing.

                speramus in juniperus

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  And why is it always in the middle of the screen? Why does it expand to fit it's content, even if that is too big for the screen? :mad: These are reasons I wrote this tip: ErrorMessageBox: an improved MessageBox for error reports[^] - so at least my errors could be copy'n'pasted to an email... :sigh:

                  Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                  D Offline
                  D Offline
                  DaveyM69
                  wrote on last edited by
                  #21

                  Handy piece of code - I may take it a step or two further so I can optionally set the size of the Form, have more than 3 buttons etc when calling Show. :thumbsup:

                  Dave
                  Binging is like googling, it just feels dirtier. Please take your VB.NET out of our nice case sensitive forum. Astonish us. Be exceptional. (Pete O'Hanlon)
                  BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

                  1 Reply Last reply
                  0
                  • C Christian Graus

                    Interestingly, I didn't write all of the programs I run :-)

                    Christian Graus My new article series is all about SQL !!!

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

                    Who did :confused:

                    My Name in English[^] Translation done By OriginalGriff

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      who decided it would be CRAZY if I could select or otherwise make copies of text in error messages shown with a message box.

                      Christian Graus My new article series is all about SQL !!!

                      E Offline
                      E Offline
                      Ennis Ray Lynch Jr
                      wrote on last edited by
                      #23

                      I would also like to thank whoever broke Ctrl+C. In the before the before, I could highlight text, Alt+Tab, then Ctrl+V. Now, the vast majority I am forced to right-click, select copy in order to ensure that I actually have the item in question in the clipboard. Nearly as annoying, I think .

                      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch

                      1 Reply Last reply
                      0
                      • S Sentenryu

                        Actually, you're wrong on that one. on ANY native windows dialog (does not work if the developer used a window with a label on it, it must be a dialog) you can just select the dialog (i.e.: by clicking on the title bar) and then press ctrl+c, that will copy the entire window text (including title and buttons). you can then paste it on notepad and select just the bit you want. the only problem is that it's becoming each time rarer to find native windows dialogs, because developers think they can do better, but most of the windows error messages still are shown on those dialogs.

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #24

                        I tried that, on a standard windows error dialog, before posting my post.

                        Christian Graus My new article series is all about SQL !!!

                        S 1 Reply Last reply
                        0
                        • C Christian Graus

                          I tried that, on a standard windows error dialog, before posting my post.

                          Christian Graus My new article series is all about SQL !!!

                          S Offline
                          S Offline
                          Sentenryu
                          wrote on last edited by
                          #25

                          If it was on explorer, then it's not a standard windows error dialog. I was so sad when i needed to copy something from it and couldn't :(( Applications i know that use the standard dialogs are: visual studio (some places, mainly when he gives you an obvious BadDeveloperException), IE, notepad++ general error messages from windows himself can also be copied, but it's becoming less common, as more people move to directX enabled windows.

                          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