Results 1 to 3 of 3

Thread: Screen shot Help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    USA
    Posts
    432

    Screen shot Help

    I need to take a Screen Shot every few sec and place it in a specific DIR in any formmat(jpg,gif,bmp) in numeric order(img1,img2,img3) can someone help me with this?

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    Just are bare outline here, for one way to do this:

    Start a loop
    Increment counter
    Send desktop a PrintScreen key (as if the user had pressed it)
    Write contents of the clipboard object to a file named xxx(loopcounter) in the format of your choice
    Loop


    Clipboard info:
    ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemWindowsFormsClipboardClassTopic.htm

    The bulk of the functions for writing JPG and GIF files are documented here:
    ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemdrawingimaging.htm

    Good luck!

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2002
    Location
    USA
    Posts
    432
    Thanks

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