-
*** Send Keys - Help ***
i am useing VB.Net, and i am trying to send key strokes to the system. this is what i'm useing:
System.Windows.Forms.SendKeys.Send("j")
i have also tried:
System.Windows.Forms.SendKeys.SendWait("j")
the problem i'm having is that some of the keys i want to send dont' actually get sent. instead i get a "beep" sound from the system.
i thought the "beep" sound ment that i am sending too many keys at one time to the system. so i am sending keys one at a time with a delay function between each key. this still does not work. sometimes the keys get sent with no problem, then sometimes only half or a fragment of the keys get sent, or sometimes none at all.
is there a more reliable way to send keys?
thanks.
-
Hi,
SendKeys.Send("{NUMLOCK}")
Have a nice day
-
thanks for the reply.
i tried that code and i am still having the same problem.
i will explain what my program does:
my VB.NET program opens Internet Expolorer and fills in a form useing send keys.
is there a method of sending keys that is more compatible with third party programs such as Internet Explorer?
thanks again.
-
If I'm not wrong , SendMessage API can send text or redirect text from other app windows(console or whatever) to textboxes or RTB . Search any API guide to make sure .