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
Re: fill a textbox automatically
What window are we talking about here, external one or one of of your own?
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 :D
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.