SendKeys: backspace

I am using the SendKeys command to send text to another program. If I wanted to send, say the 'backspace' command, or the 'tab' command, what would I tell it to send? For instance, sending a carriage return goes like this:

SendKeys vbCr

So would I use the KeyCode, or what? Is there an easy way to figure it out or will I have to post a request? Thanks, thegreenstar

Comments

  • : I am using the SendKeys command to send text to another program. If I wanted to send, say the 'backspace' command, or the 'tab' command, what would I tell it to send? For instance, sending a carriage return goes like this:
    :
    : SendKeys vbCr
    :
    : So would I use the KeyCode, or what? Is there an easy way to figure it out or will I have to post a request? Thanks, thegreenstar
    :

    The codes are all listed under "SendKeys statement" in VB6 Help.

    K.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion