Handling User Input

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm working on a hex editor as a practice project to teach myself VB.NET. So
far it has been going well, but I ran into something that I'm not sure how to
deal with. I want to let a user type characters into the ascii panel to
change the values, but I'm not sure how to capture their key events in a way
that makes it relatively easy to handle all the possible values that they
could type. How do I create a key-handling procedure that can deal with all
the upper and lower case possibilities, control-key sequences, special
characters, etc., without handling each one individually? I really don't want
to have to write a case statement to deal with each keycode or set of
keycodes, but it's looking more and more like that's what I'll have to do.
There's got to be an easier way. Something I just apparently don't know
about. Anyone have any idea how I should do this?

Thanks!
 
Still looking for some help with this problem, or at least for someone to
point me to some other resource that might be helpful for this.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top