By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,824 Members | 2,337 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,824 IT Pros & Developers. It's quick & easy.

How to read Binary file

P: 26

i want to read values from a binary file in VisualBasic 6.0
Initially i want to read only header of this binary file. I know this structure for this header. It is 100 bytes long and consists of
9 variables of Integer: Signed 32-bit integer (4 bytes) and
8 variables of Double: Signed 64-bit IEEE double-precision floating point number (8 bytes).

when i tried to assign integer and double data type for these variables i am getting unusual values.

can some one help me in this regard.

Jan 14 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 8,127
Please find a related discussion here
Jan 14 '08 #2

Expert 5K+
P: 8,434
Can you show us how you are attempting to read the file now?
Jan 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.