473,405 Members | 2,154 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,405 software developers and data experts.

Get the handle of a Textbox from another application

1
Hi Everyone

I´ve been trying to use the function FindWindowEx and FindWindow to find a textbox from another aplication, but I have a problem, with the spy ++ i have this:

handle-"Main Window"-ThunderRT6FormDC
handle-""-ThunderRT6Frame
handle-""-ThunderRT6Frame
handle-""-ThunderRT6TextBox
handle-""-ThunderRT6TextBox
handle-""-ThunderRT6TextBox

I found the hanlde of the main window, then i search for the second ThunderRT6Frame with FindWindowEx,
but i only get the handle of the first one.

Here is my code:

IntPtr Main_handle = FindWindow("ThunderRT6FormDC", "Main Window");

if(Main_handle != IntPtr.Zero){
IntPtr Frame2_handle = FindWindowEx(Main_handle, IntPtr.Zero, "ThunderRT6Frame", IntPtr.Zero);

is there a way to pass to the second ThunderRT6Frame, and then get the handle of the third ThunderRT6TextBox?


Thank you
Iker14
Jul 14 '10 #1
0 1946

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: DraguVaso | last post by:
Hi, How can you see with a VB.NET-application if the Window of another Application (for exemple an opened Word-Document) is Mimized? Is there also a way to see if it is Maximized? Thanks a...
3
by: Capsule | last post by:
Hi everyone! I'm trying to get the windows messages sent to and from another application. I'm able to get the handle to this object, and I pass it into the following function: public class...
1
by: Trancedified | last post by:
Hello, I read through this thread regarding FindWindowEx vs. EnumChildWindows: http://www.xtremevbtalk.com/showthread.php?t=130418 It looks like it was done in VB6, can this be done in...
8
by: Mike Carter | last post by:
I want to be able to get the text of a label in another application. The application was not written in .Net. How can I do this in VB.Net? Is it something related to the Window Handle? ...
4
by: Linda | last post by:
If I wanted a VB application to find the edit box of another, external application, and enter text into this edit box, how would I go about doing this? How do I get the handle for a specific...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
0
by: Sasie7679 | last post by:
Dear All, We have a requirement to open any document with a specific application and display it within a OCX control (Example - word, excel, adobe reader, MSPaint, Photoshop etc). We are using...
1
by: Gurur | last post by:
I want to access the properties of a child form of an application from another application. Properties means I want to perform some action on the visibility of the child form. I have the class...
6
by: Paulers | last post by:
Hello, I am trying to manipulate a console based application from another application for example I need to launch the console application, provide it input and take the output from the console...
2
by: mohanaabi | last post by:
In c # vs.net 2005 (windows application) is it possible to send data from one application to another application. Can the content in textbox of one application can b sent to textbox of another...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
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,...
0
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...

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.