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. Screen Capture Library Recommendations

Screen Capture Library Recommendations

Scheduled Pinned Locked Moved The Lounge
helpvisual-studiowinformscomalgorithms
14 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.
  • W W Balboos GHB

    I'll be trying to build a screen capture utility for users to make error reports. Not very complex: they'll click an icon and it will grab the entire screen (with error message(s) ) and email (SMTP) it to IT Support. To be built with VS2015. The user's only interaction will be that of clicking the icon and it will not do any sort of screen display (no sizing or any of that required). I googled a bit and there are quite a few free of libraries out there - has anyone here used any of them, and if so, can they recommend some library (or warn me away) ? This is a bit of a COVID fallback position: the normal portal I built them allows for a user to submit a problem for another user (such as in an adjacent cubicle) - not nearly so useful when people are working from home. [EDIT] It worked by adapting How to capture the current screen using Windows Forms | DotNetCurry[^] to VS2015 - The screen is grabbed before the window opens and the window is to serve as an acknoledgement to the user that something happened. This code is from a much older version of VS, before gcnew, '^', and a few other things that are no longer valid [/EDIT]

    Ravings en masse^

    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

    "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

    Here is an example straight from the horse's a-- mouth: Capturing an Image - Win32 apps | Microsoft Docs[^]

    1 Reply Last reply
    0
    • realJSOPR realJSOP

      Windows comes with a snipping tool. Just have them use that.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #5

      I can't even get our field service people to use that. I consistently get error reports with 'screen captures' that were taken with a phone camera from three feet away. :rolleyes:

      Software Zen: delete this;

      R 1 Reply Last reply
      0
      • W W Balboos GHB

        I'll be trying to build a screen capture utility for users to make error reports. Not very complex: they'll click an icon and it will grab the entire screen (with error message(s) ) and email (SMTP) it to IT Support. To be built with VS2015. The user's only interaction will be that of clicking the icon and it will not do any sort of screen display (no sizing or any of that required). I googled a bit and there are quite a few free of libraries out there - has anyone here used any of them, and if so, can they recommend some library (or warn me away) ? This is a bit of a COVID fallback position: the normal portal I built them allows for a user to submit a problem for another user (such as in an adjacent cubicle) - not nearly so useful when people are working from home. [EDIT] It worked by adapting How to capture the current screen using Windows Forms | DotNetCurry[^] to VS2015 - The screen is grabbed before the window opens and the window is to serve as an acknoledgement to the user that something happened. This code is from a much older version of VS, before gcnew, '^', and a few other things that are no longer valid [/EDIT]

        Ravings en masse^

        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

        "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

        S Offline
        S Offline
        Slacker007
        wrote on last edited by
        #6

        c# - Capture the screen shot using .NET - Stack Overflow[^] c# - Capture the Screen into a Bitmap - Stack Overflow[^] I have not done this, so I do not know how to do this first hand. It uses the CopyFromScreen() method, apparently.

        1 Reply Last reply
        0
        • W W Balboos GHB

          I'll be trying to build a screen capture utility for users to make error reports. Not very complex: they'll click an icon and it will grab the entire screen (with error message(s) ) and email (SMTP) it to IT Support. To be built with VS2015. The user's only interaction will be that of clicking the icon and it will not do any sort of screen display (no sizing or any of that required). I googled a bit and there are quite a few free of libraries out there - has anyone here used any of them, and if so, can they recommend some library (or warn me away) ? This is a bit of a COVID fallback position: the normal portal I built them allows for a user to submit a problem for another user (such as in an adjacent cubicle) - not nearly so useful when people are working from home. [EDIT] It worked by adapting How to capture the current screen using Windows Forms | DotNetCurry[^] to VS2015 - The screen is grabbed before the window opens and the window is to serve as an acknoledgement to the user that something happened. This code is from a much older version of VS, before gcnew, '^', and a few other things that are no longer valid [/EDIT]

          Ravings en masse^

          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

          "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

          New (picture) categories: certain error; maybe; suggestion; cat; etc.

          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

          1 Reply Last reply
          0
          • W W Balboos GHB

            I'll be trying to build a screen capture utility for users to make error reports. Not very complex: they'll click an icon and it will grab the entire screen (with error message(s) ) and email (SMTP) it to IT Support. To be built with VS2015. The user's only interaction will be that of clicking the icon and it will not do any sort of screen display (no sizing or any of that required). I googled a bit and there are quite a few free of libraries out there - has anyone here used any of them, and if so, can they recommend some library (or warn me away) ? This is a bit of a COVID fallback position: the normal portal I built them allows for a user to submit a problem for another user (such as in an adjacent cubicle) - not nearly so useful when people are working from home. [EDIT] It worked by adapting How to capture the current screen using Windows Forms | DotNetCurry[^] to VS2015 - The screen is grabbed before the window opens and the window is to serve as an acknoledgement to the user that something happened. This code is from a much older version of VS, before gcnew, '^', and a few other things that are no longer valid [/EDIT]

            Ravings en masse^

            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

            "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

            R Offline
            R Offline
            Rick York
            wrote on last edited by
            #8

            I added a button to my app to save window images as PNG files. I use C++ and the Ximage library I found here.

            "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

            1 Reply Last reply
            0
            • W W Balboos GHB

              I'll be trying to build a screen capture utility for users to make error reports. Not very complex: they'll click an icon and it will grab the entire screen (with error message(s) ) and email (SMTP) it to IT Support. To be built with VS2015. The user's only interaction will be that of clicking the icon and it will not do any sort of screen display (no sizing or any of that required). I googled a bit and there are quite a few free of libraries out there - has anyone here used any of them, and if so, can they recommend some library (or warn me away) ? This is a bit of a COVID fallback position: the normal portal I built them allows for a user to submit a problem for another user (such as in an adjacent cubicle) - not nearly so useful when people are working from home. [EDIT] It worked by adapting How to capture the current screen using Windows Forms | DotNetCurry[^] to VS2015 - The screen is grabbed before the window opens and the window is to serve as an acknoledgement to the user that something happened. This code is from a much older version of VS, before gcnew, '^', and a few other things that are no longer valid [/EDIT]

              Ravings en masse^

              "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

              "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

              M Offline
              M Offline
              Marc Clifton
              wrote on last edited by
              #9

              ShareX - The best free and open source screenshot tool for Windows[^] I wouldn't even bother to write one (though if you wanted to play with it, the source code is in C#.) It's fantastic, and has a configurable "workflow" - copy to clipboard, save to file, etc. So my recommendation is, just have your users download it or similar free products already out there.

              Latest Articles:
              Thread Safe Quantized Temporal Frame Ring Buffer

              W 1 Reply Last reply
              0
              • G Gary R Wheeler

                I can't even get our field service people to use that. I consistently get error reports with 'screen captures' that were taken with a phone camera from three feet away. :rolleyes:

                Software Zen: delete this;

                R Offline
                R Offline
                Rick York
                wrote on last edited by
                #10

                So do I and I built in the capability to save the current window with one click of a button on the main display. Somehow that escapes them.

                "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                1 Reply Last reply
                0
                • M Marc Clifton

                  ShareX - The best free and open source screenshot tool for Windows[^] I wouldn't even bother to write one (though if you wanted to play with it, the source code is in C#.) It's fantastic, and has a configurable "workflow" - copy to clipboard, save to file, etc. So my recommendation is, just have your users download it or similar free products already out there.

                  Latest Articles:
                  Thread Safe Quantized Temporal Frame Ring Buffer

                  W Offline
                  W Offline
                  W Balboos GHB
                  wrote on last edited by
                  #11

                  The users aren't supposed to see anything for the screen shot - I will likely put up a "sent" message after I SMTP the file but the idea is to minimize their participation (i.e., need to think).

                  Ravings en masse^

                  "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                  "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Windows comes with a snipping tool. Just have them use that.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    W Offline
                    W Offline
                    W Balboos GHB
                    wrote on last edited by
                    #12

                    As Gary Wheeler observed, in his reply, and I put to another reply not dissimilar to yours. The Lounge[^] The idea is if the users has a problem (error on screen) they click a button - probably in the tool bar, and the rest is all done for them (capture->save->email). The only the windows built-in becomes useful is if I can invoke it and do the rest in code.

                    Ravings en masse^

                    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                    "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                    1 Reply Last reply
                    0
                    • W W Balboos GHB

                      I'll be trying to build a screen capture utility for users to make error reports. Not very complex: they'll click an icon and it will grab the entire screen (with error message(s) ) and email (SMTP) it to IT Support. To be built with VS2015. The user's only interaction will be that of clicking the icon and it will not do any sort of screen display (no sizing or any of that required). I googled a bit and there are quite a few free of libraries out there - has anyone here used any of them, and if so, can they recommend some library (or warn me away) ? This is a bit of a COVID fallback position: the normal portal I built them allows for a user to submit a problem for another user (such as in an adjacent cubicle) - not nearly so useful when people are working from home. [EDIT] It worked by adapting How to capture the current screen using Windows Forms | DotNetCurry[^] to VS2015 - The screen is grabbed before the window opens and the window is to serve as an acknoledgement to the user that something happened. This code is from a much older version of VS, before gcnew, '^', and a few other things that are no longer valid [/EDIT]

                      Ravings en masse^

                      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                      "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                      Ya know, I wrote a WPF customizable Message box article, and I was toying with making the MessageBoxImage icon clickable (in fact, I have most of the mechanicals for it are already implemented. The action performed in response to the click could be anything you want, such as sending the displayed error message to the support team, or even taking a screenshot, if that's what you really want to do. I personally think a detailed and properly crafted error message would be better, but hey, that's just me. :)

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      W 1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        Ya know, I wrote a WPF customizable Message box article, and I was toying with making the MessageBoxImage icon clickable (in fact, I have most of the mechanicals for it are already implemented. The action performed in response to the click could be anything you want, such as sending the displayed error message to the support team, or even taking a screenshot, if that's what you really want to do. I personally think a detailed and properly crafted error message would be better, but hey, that's just me. :)

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        W Offline
                        W Offline
                        W Balboos GHB
                        wrote on last edited by
                        #14

                        #realJSOP wrote:

                        if that's what you really want to do. I personally think a detailed and properly crafted error message would be better, but hey, that's just me.

                        The problem is: Who is going to write that carefully crafted error message ? The brain-trust that make up the typical employee cadre where I work, and probably most anyplace that that isn't full of techies, can hardly frame a valid question if it's not a text message in both quality and utility. Or, as I should have put it: the dumb asses don't know how to do anything and, working from home, no one is around to hold their hand to get them through it. So - of course - what you think should be done would really be great. If only there were someone on the other end who can handle it. Note: Screen-capture part finally worked out to my satisfaction. SMTP mail is next.

                        Ravings en masse^

                        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                        "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                        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