Possible Duplicate:
Screenshot utilities for Windows

I have made a program and to make its report I need some snapshots.I found out that the printscreen button does not work in this case.What to do?

  • -1: What platform? What kind of program? What do you mean "printscreen does not work"? – Oli Charlesworth Nov 6 '10 at 23:12
  • Are you talking about the source code screenshot? – sabertooth Nov 6 '10 at 23:12
  • What do you mean by "make its report"? – Magnus Hoff Nov 6 '10 at 23:14
  • no,the actual program,while the program executes – user46959 Nov 6 '10 at 23:14
  • Is this homework? Please tag. – sabertooth Nov 6 '10 at 23:16

What do you expect the print-screen button to do?

It copies the screen as an image to the clipboard so you can paste it directly into a document. If you use Alt+PrintScreen, it copies just the selected window, rather than the whole screen.

If your tutor required this, he should have at least told you how to do it!

Further for console mode applications, you can capture window content as plain text by right-clicking the window title bar, then select Edit->Mark, then select the text with the mouse, then press Enter. The selected text will be placed in teh clipboard as plain text.

  • I do not need plane text,I need images of my program output – user46959 Nov 24 '10 at 14:56
  • Also for the alt+printscreen,it works when you do not run the program but while the execution of the program it does not work – user46959 Nov 24 '10 at 14:57
  • @fahad: Fine then use PrntScrn or Alt+PrntScrn as described! The plain text suggestion was for information only, you did not state whether the apllication was GUI or text! I have no idea what your second comment means. The Window you are copying does need ot have teh current focus. It is a standard operating system feature - it just works and alsways has. – Clifford Nov 29 '10 at 22:17
  • while the execution of the program,the Alt+Printscreen gets a black image not the real image. – user46959 Nov 30 '10 at 9:41
  • @fahad: Then that is an issue with your application and its rendering method perhaps. – Clifford Mar 15 '11 at 23:30