Saving a clipboard image to a file?
Hello,
I ran a few searches on the forum on how to do screenshots. That part is working fine, but how would you save the screenshot to the C:\ ??
So far I have:
VB Code:
Form1.Picture1.Picture = Clipboard.GetData()
SavePicture Clipboard.GetData, "C:\snap\six.jpg"
Any suggestions?
chris
Re: Saving a clipboard image to a file?
Quote:
Originally posted by Trancedified
Hello,
VB Code:
Form1.Picture1.Picture = Clipboard.GetData()
SavePicture Clipboard.GetData, "C:\snap\six.jpg"
chris
try:
VB Code:
Form1.Picture1.Picture = Clipboard.GetData(vbCFBitmap)
Dim myPic As New StdPicture
Set myPic = Clipboard.GetData(vbCFBitmap)
SavePicture myPic, "C:\snap\six.jpg"