Taking screenshot of a secondary display in VB... is it possible?

bignateyk

Lifer
Apr 22, 2002
11,288
7
0
Is it possible? I have two displays, where one is just a continuation of the other. I want to take a screenshot of the second display.

Or, if that isnt possible, is it possible to take a screenshot of both displays in one image?

Right now I use Call keybd_event(vbKeySnapshot, 0, 0, 1)

and I have also tried getdesktopwindow

Neither seem to be able to get a second display.

Is it possible?

THANKS!