Click to See Complete Forum and Search --> : Screenshots
Flip
Jun 26th, 2002, 08:34 PM
Someone in API game me some code to take screenshots, but there is one problem. Is puts the shot on the form, and that works fine, but when i try to save it VB gives me an error and in the debugger i see that Form1.picture = 0. I dont know why but does anyone have the solution/new code? Thanks. :confused:
110359
Jun 26th, 2002, 11:39 PM
Maybe if you posted the code that you were already using somebody might be able to help you (Not necessarily me :D).
Just a thought.:rolleyes:
110359
PsychoMark
Jun 27th, 2002, 04:28 AM
Use Form.Image with SavePicture instead of Form.Picture...
Rick Bull
Jun 27th, 2002, 05:43 AM
Yeah do as PsychoMark says, but also I wanted to say that you can use that code (that I gave you, I think :D) on anything with a hDC, i.e. a picture box. You don't have to use the form, I was just to lazy to add a picture box ;)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.