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


Joined
Aug 30, 2018
Messages
1
Reaction score
0
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.
 

Top