I want to know how to add an event. If any of you have added an event before, please look into your code again and paste everything you did to add that event.

Since I am a newbie at this, I will make sure im making sense. so im going to clarify more.

Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click

end sub

now.. the event '_click' or 'click' was obviously already added in the program.

I want to beable to add my own event.

Private Sub txtAdjust1B_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtAdjust1B.KeyPress
If KeyAscii = 9 Then
cmdAccept.Enabled = True
End If
End Sub

In vb.NET the 'KeyPress' event does not exist. I want to add this.

Any help would be much appreciated.