Capturing just a region of the screen.

Posted on 1998-06-10
Last Modified: 2010-05-03
Does anyone have a piece of code for just capturing a region of the screen. Not an entire window.

Let's say a user hit's a key, the mouse turns into crosshairs and he can drag it across a region, sending it to either the clipboard or to a picture box.
Question by:VBert
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 1463000
Check out MSKB article #Q161299 at:

It's not 100% what you want, but there's enough information to get you on your way.

I submit this as a comment.  If it solves your problem, let me know and I'll resubmit it as an answer.

Author Comment

ID: 1463001
clifABB, that will do it.  I was too lazy to search the Knowledge Base.  Go ahead and post as answer.


Accepted Solution

clifABB earned 100 total points
ID: 1463002
Glad I could be of service.

Check out MSKB article #Q161299 at: 


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question