I have a textbox that captures strings like 0XA5, 0X2E, 0X34
and so on.
I want to convert it into a hexadecimal value like &HA5
etc and send it to a serial port (which accepts only hexadecimal numbers in the form of '&H__') using VB.
I have looked online and I am very confused. Any sort of help would be appreciated.