i know that sendkeys function is not the right way to change text of text box
i just want to try the function although that this function is not Effective
lets say that i got form
with textbox
and timer
Timer1.Interval = 1000
Timer1.Tick:
textbox1.Focus()
sendkeys.Send("123")
now evrey second the timer send keys into my textbox.
if i Minimize My Application the application send keys to EvreyWhere
lets say that i open NotePad And Then Run My Application the application send the keys into notepad and not my application
how can i send keys only to my application?