Link to home
Start Free TrialLog in
Avatar of eng70640
eng70640

asked on

Screen capture the desktop

Is it possible to screen capture the desktop without using the print screen procedure ?
ASKER CERTIFIED SOLUTION
Avatar of schworak
schworak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You should call ReleaseDC on the GetDC handle.  Otherwise you'll have a memory leak.
Avatar of schworak
schworak

Good point.
1. Capture desktop/Screen shot, and save to file, easiest way using only one API call!! A must see!

http://www.planetsourcecode.com/xq/ASP/txtCodeId.10994/lngWId.1/qx/vb/scripts/ShowCode.htm

2. Capture desktop color and picture from mouse cursor position and save picture

http://www.planetsourcecode.com/xq/ASP/txtCodeId.5378/lngWId.1/qx/vb/scripts/ShowCode.htm

3. Capture the desktop of any computer around the world!

http://www.planetsourcecode.com/xq/ASP/txtCodeId.14274/lngWId.1/qx/vb/scripts/ShowCode.htm

4. You can capture the desktop of a network computer.

http://www.planetsourcecode.com/xq/ASP/txtCodeId.8125/lngWId.1/qx/vb/scripts/ShowCode.htm

5. This Code save's the desktop to a bitmap or a jpg file. It uses a dll written in Delphi.

http://www.planetsourcecode.com/xq/ASP/txtCodeId.8028/lngWId.1/qx/vb/scripts/ShowCode.htm

Good Luck....

Ajay Chadha .... :-)
6. Capture and Print the Screen, a Form, or any Window

http://www.thescarms.com/vbasic/Capture.htm
Hi  Erick , so where should i include the call ReleaseDC on the GetDC handle in schworak 's code ?
Avatar of eng70640

ASKER

Hi  erick , like what ng706 said , how to include the call ReleaseDC on the GetDC handle in schworak 's code ?
Hi  Schworak , like what ng706 said , how to include the call ReleaseDC on the GetDC handle in your code ? :) Sorry to reject  but i really want to know . :)
Hello eng_70640,

Have you gone through the links above...??

Good Luck....

Ajay Chadha ... :-)