473,782 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: How to Capture the screen of another application?

JB
On 8 Apr, 10:03, "DSK Chakravarthy" <dskch...@msn.c omwrote:
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...@gmai l.comwrote in message

news:ff******** *************** ***********@1g2 000prg.googlegr oups.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 1582

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

Similar topics

5
5719
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 should capture the data from the application window and populate the form. Is it possible to access text inside another opened window on the client pc, using javascript?
5
2383
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. One thing that I would like to be able to do is display a screen capture of our product running. I have the code to get the screen capture of the desktop and I also know how to send the image back to the client to be displayed. The problem is that...
0
2707
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. I want to capture a fotogram of a media player control in VB6 and I capture the screen as in the section "Visual Basic 4.0 16/32 Capture Routines" of this URL:
3
3657
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
2220
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 function in gdi32.dll to achieve its magic as follows: Public Function CreateScreenshot() As Bitmap
2
6625
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 offer is public void StoreLogEntry(string tag, string description, bool screenshotRequired)
1
4508
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 an image of that web site so that it can be displayed later as a thumbnail image. I have code for taking a normal screen capture using GDI+ which works fine. What I am now trying to do is to modify it so the screen capture is of a remote...
5
9020
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 make sure your program uses these namespaces: using System;
4
1773
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 video signal, here i am using my Nvidia Geforce 6600 graphics card as video input device, the video source is a small camera which is outputting the video through composite video cable and that cable is attached to the input connector of my vga card. ...
0
10313
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9944
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.