How to read Binary file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kowndinya
    New Member
    • Sep 2006
    • 26

    How to read Binary file

    Hello,

    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.

    Thanks
    Raj
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Please find a related discussion here

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Can you show us how you are attempting to read the file now?

      Comment

      Working...