Results 1 to 3 of 3

Thread: Capture

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    SPAIN
    Posts
    1
    Hello!!. Please, someone knows where can i find an OCX for capturing the screen to a gif, jpg bmp.. file?
    Thanks.

  2. #2
    Guest
    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!


  3. #3
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    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
  •  



Click Here to Expand Forum to Full Width