|
-
Feb 19th, 2002, 12:35 AM
#1
Thread Starter
Junior Member
API Thing...help
I was wondering....
Say for example I had notepad open. Notepad contains a textbox of some kind, yes? How can I grab the contents of that text box via the API (IE, I dont want to have to copy/paste the code using AppActivate and SendKeys)?
Is it possible?
Any help at all would be greatly appreciated.
-
Feb 20th, 2002, 02:29 PM
#2
It might be easier to force NotePad to save to a dummy file, and
then read in the file.
I'm not at all sure the NotePad uses a textbox, per se.
-
Feb 20th, 2002, 03:19 PM
#3
Member
-
Feb 20th, 2002, 06:00 PM
#4
Addicted Member
To protect time is to protect everything...
-
Feb 21st, 2002, 05:36 PM
#5
Thread Starter
Junior Member
I was only using Notepad as an example. I'd like to be able to spy on the content of any textbox, if that it at all possible.
Thanks for your time.
-
Feb 21st, 2002, 06:07 PM
#6
Addicted Member
Like i said... check out www.vbapi.com and go to the Reference section..... It has a list of all the API calls associated with VB and tells u how to use them and what it does.
I think you will want to use the SendMessage call... you can find out the constants to use that have to do with notepad at www.microsoft.com.
Last edited by Virtual24; Feb 21st, 2002 at 06:10 PM.
To protect time is to protect everything...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|