Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am using SendKeys.SendWait("ABC") function to pass keypress event on webbrowser textbox. But it appears as "AABBCC"...... :(
Using Following code :

SendKeys.SendWait(PassString)
Thread.CurrentThread.Sleep(1000)

Still not coming properly. Please Help.

Regards,
Harshala
Posted

1 solution

If you are actually sending keypresses using sendkeys.sendwait then it is no surprise that the results are duplicated.

You are getting one letter from the keyboard and then the same letter via sendkeys.sendwait.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900