Hello, I am attempting to create a Screenshot program using Visual Basic .NET 2008. I know how I'm going to do everything else, but I don't know how to make it where whenever the Screenshot is taken the user can save it to their harddrive. Can someone help me, please?
I found several examples:
How To Capture and Print the Screen, a Form, or Any Window
VBnet™ Visual Basic Developers Resource Centre
These should give you instructions. Even if they are not for Visual Studio 2008 they are for Visual Basic .NET so they will work in VS 2008.
Thank You!!
No problem!
Isn't there a simple way to capture a form and put the data in a picurebox in that same form, outside what everyone sees.
You should be able to load a screen capture from clipboard and insert into a picture box fairly easy.
isn't there another way than putting it into the clipboard ?
Save it as a temporary file, I suppose. I'm unsure of a better way though. When you fetch a screen capture, where is that data stored? You could feed the imageBox directly.
Do what I did.
Then retrieve the image from clipboard and make the PictureBox's image the clipboard image.Code:SendKeys.Send ("{Prtsc}")
Then you can save it anywhere.
EDIT - Just follow my tutorial HERE.
There are many bugs with this. Since then I have fixed most of them. I'll update the tutorial when I'm not busy.
Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks