hi- every one.
I'm having a problem with a program I'm trying to write in windows forms. I want to write a program to convert binary numbers (1Byte) to hexadecimal.
the program works like this:
user inserts a binary number in a textbox and the result will be shown in another textbox.
I know the algorithm and everything. there is just one problem:
since the number must be binary I don't want the keyboard type in any other numbers ( other than 0 and 1) or other characters. I want to disable them in my application. how can I do that?