|
-
Jul 5th, 2004, 11:54 PM
#1
Thread Starter
Junior Member
*** 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.
-
Jul 6th, 2004, 02:26 AM
#2
Addicted Member
Hi,
SendKeys.Send("{NUMLOCK}")
Have a nice day
-
Jul 6th, 2004, 07:51 PM
#3
Thread Starter
Junior Member
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.
-
Jul 6th, 2004, 09:00 PM
#4
Sleep mode
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 .
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
|