How to use sendkeys "{home}+{end}" using vb6.0 in windows 10

Discussion in 'Software' started by rajeshsharma1911, Aug 30, 2018.

  1. rajeshsharma1911


    Aug 30, 2018
    Likes Received:
    Hi friends,
    I am using vb6.0 in windows10. In following code sendkyes "{tab}" is not working
    Private Sub dtpDATE_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyEscape Then
    Call cmdCancel_Click
    Exit Sub
    End If
    If KeyCode = vbKeyReturn Then
    SendKeys "{tab}"

    End If

    End Sub

    pls solve my problem.
    rajeshsharma1911, Aug 30, 2018
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.