0
Hello,
I am making a program that simulates a ULA(programmable logic unit), and I need my textbox to read the value written in binary.
For example: In Textbox1 the user would write 1010(decimal number 10).
I need this value to be understood as binary. I can already convert from binary to decimal and vice versa, but what I really need is that the textbox already reads the number that will be placed inside it by the user as binary.
I appreciate the help.
You want the textbox to only accept 0 and 1, that’s it?
– gato
Is Windows Forms, Asp.NET Webforms, Asp.NET MVC, Silverlight, WPF? It’s hard to help without knowing which technology you’re using specifically....
– Marcus Vinicius
It’s windows form application. I want the value read to be binary. If I write 1100 in the textbox, it has to understand 12. I don’t know if you’re giving to understand well what I want! hahaha
– iagoM.
Put the current textbox code, it’s easier to help.
– Bacco