Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binary File Problem

Status
Not open for further replies.

praveensg

Programmer
May 15, 2002
26
GB
Hi
Well my problem is that I have a binary file.....
It has been created using Qbasic in 1983 or so
I know how the data has been allocated to form the file...I mean I know what datafield is going into it and takes how many bytes....but my problem is extraction of the fields using VB...
I have extracted all the strings within the file...and also integers....but the real problem is with real numbers or numbers having decimals....each such number takes 4 bytes...but the thing is that i do not know what data type has been used to store these real numbers....
i tried single double etc but cant get the original values...

are there any functions to convert byte data to numbers or sthg...
please let me know...
this is very important for me..
thanx
praveen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top