|
-
Nov 5th, 2008, 10:40 PM
#1
Thread Starter
Member
fill a textbox automatically
Good day
I was wondering if there is a method or a way of programming that can allow a vb program to fill a textbox in a window once this window is launched .
this process should launch itself automaticaly in case a specific window get launched.
Thank you
-
Nov 9th, 2008, 10:34 AM
#2
Re: fill a textbox automatically
What window are we talking about here, external one or one of of your own?
-
Nov 23rd, 2008, 11:14 AM
#3
Re: fill a textbox automatically
yes saadmechiche it look like the text box is in an external windows.
first pls answer deeu question.
if what i undestand is correct as i mentioned above, SedMessage() API is the best method to send data to a text box kept in an external application.
There few other ways also,
SendKeys() . This is a built in vb function and less reliable since the window you send the data should be in focus. elase will be put on another application window 
There is somthing elase call DDE. No idea about this.
So i recommend you to use sendMessage api for this purpose and you will have no trouble at all.
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
|