473,379 Members | 1,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

accessing BIN files

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...."
Dec 8 '05 #1
2 1334

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

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:28**********************************@microsof t.com...
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...."

Dec 8 '05 #2
It might even be worthwhile to run that with byte, int16 and int32, and
see which one makes sense.

Tom

m.posseth wrote:
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

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:28**********************************@microso ft.com...

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...."


Dec 8 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
3
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different...
5
by: Paulos | last post by:
Hi Has anyone any experience of accessing .CSV files with ADO.NET and C#? All I want to do is open and read a number of them. I have search the help files, the MDSN and all the books I have...
0
by: Joergen Bech | last post by:
Fairly new to ASP.NET 1.1. Getting the error below when running application on a web server outside of my control, but only the first time I run it: 1. After a long period of inactivity (or...
4
by: Khalique | last post by:
I have built a web service whose purpose is to copy files from a secure place to client machine and vice versa. The problem I am having is perhaps related to permissions and access rights. For...
0
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
3
by: Gerhard | last post by:
I have an application that needs to be able to upload documents that can latter be accessed and opened by a hyperlink. I can do this easliy if I store the files in a subdirectory in the...
3
by: kosmodisk | last post by:
Hi, I'm having problem accessing javascript-created elements from opened window. This occurs only when I'm including another files in opened window, javascript or css. When I comment out...
1
by: leenadiwan | last post by:
Friends, Im having problem with accessing a JS file placed in another folder from a JSP popup. I tried all the following: <SCRIPT LANGUAGE="JavaScript1.1" ...
6
by: Adam McCormack | last post by:
Good morning, I hope I'm not repeating a post, but I did try to search for the topic before asking. I am trying to resolve an issue that has come up as a result of planned migration from a single...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.