Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendkeys question

Status
Not open for further replies.

jfield817

Programmer
Jun 2, 2000
153
US
Trying to place the ENTER key into the keyboard buffer...using VB 4..
the syntax SENDKEYS {ENTER} does not work....
what is the correct syntax ..(i am using braces)

thanks
john field
 
[tt]SendKeys "{ENTER}"[/tt]

VCA.gif

Alt255@Vorpalcom.Intranets.com
 
I tried SendKeys "{ENTER}" and I get out of memory error 7
and I tried that on several machines....


thanks
john field
 
Are you using SendKeys in the Change event for one of your controls? That would be a good way to run out of memory.

The text box changes, it sends keys to itself which activates the change event which sends more keys. You get the picture. The snake bites its own tail until it dies.
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top