Hi all,
I am working with a binary file. The byte at position 16 of the binary file has the number of records in the file in a binary format.
So for example, if the binary representation of byte 16 in the file is 11111100, this would translate to 790780 records. 00011101 is equal to 29 records.
How do I know the equivalent? As of now I can open each file and go to the end of the file and that gives me the number of records. It is a tedious job becuase there are days that I need to find the count for upto 500 files.
How do I convert the binary representation of 11111100 to 790780 in vb.
Is this possible?
Thanks for any help.
Ed
I am working with a binary file. The byte at position 16 of the binary file has the number of records in the file in a binary format.
So for example, if the binary representation of byte 16 in the file is 11111100, this would translate to 790780 records. 00011101 is equal to 29 records.
How do I know the equivalent? As of now I can open each file and go to the end of the file and that gives me the number of records. It is a tedious job becuase there are days that I need to find the count for upto 500 files.
How do I convert the binary representation of 11111100 to 790780 in vb.
Is this possible?
Thanks for any help.
Ed