Home All Groups Group Topic Archive Search About

Grab and pass text to another programs textbox field

Author
9 May 2006 8:12 PM
brad
I need to know how to grab text from and enter text into another
running programs textboxes. I dont know where to begin to look.

Author
9 May 2006 8:53 PM
zacks
Grabbing data from a screen is done using the technique commonly known
as "screen scraping". Pasting it into another app's window is usually
done with SendKeys, but that is really ugly.
Author
9 May 2006 9:11 PM
Herfried K. Wagner [MVP]
"brad" <bsta***@fairwinds.org> schrieb:
>I need to know how to grab text from and enter text into another
> running programs textboxes. I dont know where to begin to look.


Keywords:  P/invoke (platform invoke), 'FindWindow', 'FindWindowEx',
'EnumWindows', 'EnumChildWindows', 'GetWindowText', ...

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>