accessing BIN files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All,

I posted this question a few days ago, this time I'll try to give some more
information. I have a program that accesses a bin file and i need to look
inside that file, but i don't know how (it's just jiberish in notepad).
here's the code that accesses this file:

If intAtmo = 0 Then strFileName = Application.StartupPath &
"\aero7.bin"
If intAtmo = 1 Then strFileName = Application.StartupPath &
"\anaero7.bin"
intFIn = FreeFile()
FileOpen(intFIn, strFileName, OpenMode.Binary)
FileGet(intFIn, RecPosLst)

Seek(intFIn, RecPosLst(intBugIndx).lngRecPos)
FileGet(intFIn, intModT).... 'many more FileGet's

FileClose(intFIn)

this seems to be all the code. i'm in quite of a bind. the guy who wrote the
program is dead, and shortly after his passing, his mother board went to join
him, but he probably made this file from something he got with his MSDN
subscription. i work for a government agency, so they're too fugal to get
professionally trained help, yet the freedom of information act says we must
make this information publically available, and we've just had a request.

i have access to all his old files, but i don't know what programs he used
to make them. could anyone please give me any ideas what he could've used?

funny thing is, the file contains a matrix they want me to show them. i'm
sooooo tempted to mail them a blue pill and a yellow pill, with a note saying
"i cannot show you the matrix...."
 
Beep ! Houston we have a problem Beep !

ahum serious now :-)
Bin is as naming convention used to let you know that the contents of the
file are in Binary format ,,,, so that it is Jiberish in notepad is now
explained

If these files should have been somehow secured , it will be verry hard to
retrieve the original content , if not you could try tol read the file in a
byte array and then run a ascii or unicode conversion on it and then output
it back to a file to see if this results in text that makes anny sense

regards

Michel Posseth
 
It might even be worthwhile to run that with byte, int16 and int32, and
see which one makes sense.

Tom
 
Back
Top