KeyDown VB.NET, Newbie

vidiware

Freshman
Joined
Dec 3, 2002
Messages
39
Hi!
Im new here and I'm just asking how you can perform a sucessful KEYDOWN in Visual Basic .NET.
When I'm writing

Private Sub frmGame_KeyDown(ByVal keycode As Integer, ByVal Shift As Integer)
If keycode = vbkeyup Then End
End Sub

Something problemo is about the vbkey up thing...
This worked in 6.0, but can you write a key down example in .NET?
 
Code:
    Private Sub frmGame_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
    'you can use ...  e.KeyCode plus other methods within
    End Sub
 
Back
Top