473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Re: How to Capture the screen of another application?

JB
On 8 Apr, 10:03, "DSK Chakravarthy" <dskch...@msn.comwrote:
JB,

infact, you can use the process to identify that any of your required
process is running or not ..

Secondly when you activate the window, you dont have to go the co-ordinates
of the program .. because the hWind has the activity set to that process.

For the final concept of reading the window.. blah .. blah .. request you to
explain more in detail to understand your requirement better

HTH

"JB" <jamesb...@gmail.comwrote in message

news:ff**********************************@1g2000pr g.googlegroups.com...
I'm trying to write an application to read another program, to capture
the screen, read some text and then write it into a database.
The data i need to get will always be at the same point on the
program's window - but i dont have the first idea how to go about
starting it..
First I need to see if the program is running
Then I need to get the screen co-ordinates of the program.
Then read data from the window, both text from a text-box of sorts, as
well as some images..
Can anyone point me in the direction of how to get started, if it is
even possible?
I did used to use a macro recorder which did a similar task, but it
was never very customizable and often quite unreliable. I had to set
it to alt+tab out of the window, then copy and paste into another
form, and etc.
This had the problem, for example if the form hung the macro wouldnt
realize it and would try to carry on...
Cheers all
Thanks for the reply.
So the first part is looking easy enough. As for the next part:

Well I have a winform which has a few text boxes and 1 image.
The text boxes, well i suppose they are pretty standard. The font and
size will always be the same if that would be an issue.
The boxes will always be at the same position on the window, and the
window always the same size.
I just need to be able to read the text from these text boxes, then
process and import into my database.

As for the image, well each 'page' on the form will have a status, and
for some very peculiar reason it is displayed as an image.
It will either be a green tick, red cross or orange/yellow question
mark.
Image always the same size etc.

So would it be possible?

It seems feasible in theory - get a handle to the text box control and
read from it, but i cant see it being that simple....
Jun 27 '08 #1
0 1522

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: NK | last post by:
Hi, We have a webpage that has a form available on the intranet. A user will have a window open that runs a different application open. When the user accesses the webpage and clicks a button we...
5
by: TerryWilson | last post by:
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. ...
0
by: Tsunami | last post by:
Hi to all: I have a big problem and I write to ask for help. Sorry if this message does not arrive to the apropriate group. I have selected them paying attention but I am not sure to do it well....
3
by: Marcob | last post by:
Is there any component out there to capture screen text from a specific region on any active external application form. Thanks Marco
2
by: Eddie Dunn | last post by:
I have one here that I cannot find anything on in my searching. I am implementing a screen capture functionality into my Visual Basic ..NET application. The code I am using calls the bitblt...
2
by: dumbledad | last post by:
Hi All, I'm using ASP.Net web services to provide the logic required for a Flash based prototype. The Flash and the ASP .Net run together on the client machine. One of the functions I'd like to...
1
by: JP2006 | last post by:
I'm trying to write a control that will take a screen capture of a particular website when a user submits a form in a web application; one of the form fields is for a URL - the control needs to get...
5
Atran
by: Atran | last post by:
Hello Everyone. In this article: You will know to capture the screen in 2 ways: 1)- Capture full screen. 2)- Capture region. Let's Begin: First make a new Windows Application project. And...
4
by: tahirahmed | last post by:
Hello, Before i start programming my application in C# I want ask a few things about directX capture class. My application scenario I want to design an application which is able to detect...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.