anyone have a program that can automatically take a screenshot and save it in a specified folder every 5 minutes, or at intervals i mean? i want to have my screenshot as part of my website...
If SnapType = SnapWindow Then keybd_event VK_MENU, 0, KEYEVENTF_KEYUP, 0 ' Simulate releasing ALT
DoEvents ' allow inserted keyboard events to be processed
Set Snapshot = Clipboard.GetData(0)
End Function [/tt]
Now add a timer to a form, set the interval appropriately (you'll need to figure out for your self how to deal with intervals greater than approx 1 minute), and drop in the following code: [tt]
Option Explicit
Private Sub Timer1_Timer()
Call SavePicture(Snapshot(SnapScreen), "c:\myscreensnapshot.bmp" ' Change the filename to whatever you like
End Sub [/tt]
ok, i did what you guys suggested, but: is there anyway to convert this bitmap to a .jpg, or .gif before it saves? that way it will work on all browsers (not just IE) and it will have a faster loading time. does anyone know how to do this?
It get's a mite more complicated if you want to save it as a .jpg, and generally involves getting hold of a 3rd party control if you want to save as a .gif
Yup, I would just suggest getting one of those freeware ocx controls...it should do it for ya...=) Regards,
Anthny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.