Click to See Complete Forum and Search --> : ENTER key


|v| man
November 4th, 1999, 12:01 PM
i need the ascii code for the ENTER key
or
i need the command like "VBKeyE" just instead the "E" i need it for the "ENTER" key
thanxxx

Sky1000
November 4th, 1999, 01:42 PM
The VB name is vbKeyReturn, the ascii code is 13. If you want to simulate a carriage return with code ... you need to add the linefeed code which is 10, for example, txtMyText = "Hello World" + Chr$(13)+ Chr$(10)

Sky1000