By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,479 Members | 988 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,479 IT Pros & Developers. It's quick & easy.

SendKeys

P: n/a
If I wanted to send the "ENTER" keystroke to the
active application, how do i write the command ?

Send("ENTER")

Doesn"t this send the letters E, N, T, E, R to the
active application ?

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Try this:
SendKeys.Send("{ENTER}")

HTH,

Bernie Yaeger

"rsmith" <rl*****@worldnet.att.net> wrote in message news:%2***************@TK2MSFTNGP12.phx.gbl...
If I wanted to send the "ENTER" keystroke to the
active application, how do i write the command ?

Send("ENTER")

Doesn"t this send the letters E, N, T, E, R to the
active application ?

Nov 20 '05 #2

P: n/a
Hello,

"rsmith" <rl*****@worldnet.att.net> schrieb:
If I wanted to send the "ENTER" keystroke to the
active application, how do i write the command ?

Send("ENTER")


Send "~" or "{ENTER}".

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3

P: n/a
thank you
"rsmith" <rl*****@worldnet.att.net> wrote in message news:%2***************@TK2MSFTNGP12.phx.gbl...
If I wanted to send the "ENTER" keystroke to the
active application, how do i write the command ?

Send("ENTER")

Doesn"t this send the letters E, N, T, E, R to the
active application ?

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.