Snapshot an image of a running application

  • Thread starter Thread starter Bill Fuller
  • Start date Start date
B

Bill Fuller

I am wondering if there is a way to capture an image of a running Windows
Application when the user hits a special key sequence to bring up a
"comments" dialog to be used during testing of a new app. This feature would
be cached into a central database along with the comments so that we will
have a picture of what the tester was seeing when opening up the comments
dialogue.
 
I am wondering if there is a way to capture an image of a running Windows
Application when the user hits a special key sequence to bring up a
"comments" dialog to be used during testing of a new app. This feature
would
be cached into a central database along with the comments so that we will
have a picture of what the tester was seeing when opening up the comments
dialogue.

You could use the Control.DrawToBitmap() method to save a bitmap of any
open forms (you'd have to call it once per form).

As far as the "special key sequence" goes, that's just straight input
handling. I assume you don't actually need help with that.

Pete
 
Products like Cam Studio (http://camstudio.org/) record an AVI of what's on
the desktop.

There may be a product out there with an API that you could hook into. I
don't know of one (because I've never looked for such a beast) but it would
be worth a few minutes of your time on a search engine.

HTH,

Adam.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top