|
-
Oct 9th, 2000, 11:27 AM
#1
Thread Starter
New Member
Hello!!. Please, someone knows where can i find an OCX for capturing the screen to a gif, jpg bmp.. file?
Thanks.
-
Oct 9th, 2000, 01:30 PM
#2
Hi.
I don't know any OCX that does what you want, but for BMP, the standard SAVEPICTURE command in VB should do the job for BMP format.
For JPG, take a look at Fox's web page (http://orion.spaceports.com/~mccloud/index.html) there is a lot of nice samples there and there is one for saving a form/picturebox to a JPG file. I haven't looked at it yet, Ijust know its there.
For GIF.... well , beats me!
Good luck!
-
Oct 9th, 2000, 08:11 PM
#3
Frenzied Member
Just declare the APIs
GetDesktopWindow
and
GetDC or GetWindowDC
BitBlt
than you can blt the desctop to a picturebox. Alain already explained how to save it. It's like a 10 line program.
Code:
'(denkst du nicht dein name greift etwas hoch?)
Sanity is a full time job
Puh das war harter Stoff!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|