Home All Groups Group Topic Archive Search About
Author
9 Feb 2006 8:15 PM
iwdu15
hi, how can i capture the screen, ex exactly what the users sees? ive looked
around but any code ive found is for vb6
--
-iwdu15

Author
9 Feb 2006 10:09 PM
Homer J Simpson
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:52D11A26-AFEF-415F-A84A-82E4A57965B7@microsoft.com...
> hi, how can i capture the screen, ex exactly what the users sees? ive
> looked
> around but any code ive found is for vb6

An application can simulate a press of the PRINTSCREEN key in order to
obtain a screen snapshot and save it to the clipboard. To do this, call
keybd_event with the bVk parameter set to VK_SNAPSHOT, and the bScan
parameter set to 0 for a snapshot of the full screen or set bScan to 1 for a
snapshot of the active window.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui5/html/wce50lrfkeybdevent.asp
Author
9 Feb 2006 11:19 PM
Herfried K. Wagner [MVP]
"iwdu15" <jmmgoalsteratyahoodotcom> schrieb:
> hi, how can i capture the screen, ex exactly what the users sees? ive
> looked
> around but any code ive found is for vb6

<URL:http://dotnet.mvps.org/dotnet/samples/forms/#Screenshot>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>