marksquall
Active member
- Joined
- Oct 17, 2009
- Messages
- 28
- Programming Experience
- 3-5
Dear Visual Basic .NET Forums administrators and members,
A greeting of peace. I hope everyone is doing fine upon reading this forum.
Well, it's really my first time to try Visual Basic .NET, then I realized that not all my previous experience with VB6 will work smoothly in VB.NET. I am creating a simple program that will enter a name in the TextBox and will greet them by using the MessageBox class. But I wonder, since the TextBox that I'll be using is for inputting a name, I want to "trap" all numeric keys in my keyboard, I just don't know how to do it. This is fair easy in VB6, using the Text1_KeyPress(KeyAscii As Integer) subroutine.
Thank you and more power to all administrators and members. God bless.
Respectfully yours,
MarkSquall
A greeting of peace. I hope everyone is doing fine upon reading this forum.
Well, it's really my first time to try Visual Basic .NET, then I realized that not all my previous experience with VB6 will work smoothly in VB.NET. I am creating a simple program that will enter a name in the TextBox and will greet them by using the MessageBox class. But I wonder, since the TextBox that I'll be using is for inputting a name, I want to "trap" all numeric keys in my keyboard, I just don't know how to do it. This is fair easy in VB6, using the Text1_KeyPress(KeyAscii As Integer) subroutine.
Thank you and more power to all administrators and members. God bless.
Respectfully yours,
MarkSquall