Roger Eagans
Sep 8th, 1999, 01:12 AM
Sorry if this has been asked before. I looked and didn't see a reference to it. I am trying to convert a binary file that is 161 bytes long from binary form, over to deciamal. These numbers are stored in a low byte/high byte order. not this may not seem to daunting, but where I am coming into trouble is when I have a negative number stored in the binary file. The program that creates the negative number saves it in the 2's complement. Is there a way in Visual Basic to reverse the 2's complement before I convert the numbers back to decimal?
Thanks in advance,
Roger Eagans
Thanks in advance,
Roger Eagans