Greetings again
I have a small utility that reports which printer port has been selected.
Its returning the correct data, but in binary, LPT 1 = 0x378 = 888
Right now its reports in the message box "Printer Port 888"
I would like to change that to read "Printer Port x" as in Printer Port 1 or 2 or 3 and so on...
How would I convert the binary info to generic number?
The snippet below has the two lines of interest.
private ushort m_portBase = 0;
MessageBox.Show("Printer Port " + m_portBase);