The topic kinda says it all.. How to simulate enter/return key press?
I've googled it, but I weren't able to find anything..
SendKeys.Send doesn't work for this..
Simulate enter/return key press?
Page 1 of 16 Replies - 12187 Views - Last Post: 24 August 2008 - 12:20 PM
Replies To: Simulate enter/return key press?
#2
Re: Simulate enter/return key press?
Posted 24 August 2008 - 11:27 AM
bump. Someone must know how to do this? :s
#3
Re: Simulate enter/return key press?
Posted 24 August 2008 - 11:35 AM
Make sure you put this in the KeyDown() event
If e.KeyCode = Keys.Enter Then 'TODO CODE End If
#4
Re: Simulate enter/return key press?
Posted 24 August 2008 - 11:41 AM
Think you misunderstood me.. I don't want something to happen WHEN a user clicks enter, I want it to click enter when the program tells it to
#5
Re: Simulate enter/return key press?
Posted 24 August 2008 - 12:06 PM
Well instead of trying to simulate it why don't you just pass the code instead of trying to simulate. I think it will do the same thing.
If I'm not right can you please re-explain.
If I'm not right can you please re-explain.
#6
Re: Simulate enter/return key press?
Posted 24 August 2008 - 12:18 PM
The problem is, that I need to simulate it, to close an inevitable message box.
#7
Re: Simulate enter/return key press?
Posted 24 August 2008 - 12:20 PM
Why are you trying to show a MessageBox then Close it?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|