EZCheeZe Posted January 26, 2003 Posted January 26, 2003 Is there a way to take a screenshot from x1,y1 to x2,y2? I have looked in the help file, and in mt VB book, but I have not found it. Any insight will be helpful. Quote
*Experts* Nerseus Posted January 26, 2003 *Experts* Posted January 26, 2003 First, do you know how to get a screenshot at all? Once you have one, it will be a regular bitmap and using GDI+ you can crop it to whatever size you want. I'll try and put something together tomorrow if you can't figure it out by then :) -nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
EZCheeZe Posted January 26, 2003 Author Posted January 26, 2003 Alas, I do not know how to make a screenshot. I have searched this book cover to cover, and nothing. There is also nothing that comes up in the help file :( Quote
*Experts* Nerseus Posted January 26, 2003 *Experts* Posted January 26, 2003 Sorry - this is in C#. I'm not sure of any good VB.NET resources. The objects and methods should be the same in both so it shouldn't be hard to convert - the basic idea will be the same. I'm not 100% sure this article will help but it is used to do generic screen captures so it may, at least, get you started: http://www.csharp-corner.com/code/2002/april/screencaptureutility.asp Good Luck! -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.