Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. how to create a reader for an unknow file

how to create a reader for an unknow file

Scheduled Pinned Locked Moved IT & Infrastructure
tutorialquestion
12 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A aguest

    hello i want to create an application who can read me a file who can't be read by any other application that i know, but i know that this file is a data base file and i have and idea of the original extesion of the data base . for more information,this file(the data base) can be opened by one application that i losed it . and i want to know i can to create an application who can read me this file?

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #2

    Did you expect a serious answer to this question ? You're asking for a program that by extension can magically read any file format that exists now and in the future. If a program can magically work out a file format by itself, why not all of them ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

    S A 2 Replies Last reply
    0
    • C Christian Graus

      Did you expect a serious answer to this question ? You're asking for a program that by extension can magically read any file format that exists now and in the future. If a program can magically work out a file format by itself, why not all of them ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #3

      Bad day at the office? Steve S

      C 1 Reply Last reply
      0
      • C Christian Graus

        Did you expect a serious answer to this question ? You're asking for a program that by extension can magically read any file format that exists now and in the future. If a program can magically work out a file format by itself, why not all of them ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

        A Offline
        A Offline
        aguest
        wrote on last edited by
        #4

        you don't understand what i want. i have database file with unknow extension (maybe *.dbf,*.dbs......)and i want to make a program who can open this file . i am sure that's this file is a database file i won't to make a program who rean any file who can find , i want a program just for this file . like for the files imported from 3Dmax and who can be used with vc++ or other programming language there are a part of code who can read this file . i hope that you understand what i want to do .

        R C 2 Replies Last reply
        0
        • A aguest

          you don't understand what i want. i have database file with unknow extension (maybe *.dbf,*.dbs......)and i want to make a program who can open this file . i am sure that's this file is a database file i won't to make a program who rean any file who can find , i want a program just for this file . like for the files imported from 3Dmax and who can be used with vc++ or other programming language there are a part of code who can read this file . i hope that you understand what i want to do .

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #5

          You can open and view nearly every file with the Hex Editor available here[^]. The problem will be in interpreting what you see. Each DBMS uses its own internal storage format, and no tool I've found can identify and read them all. You may, with much patience, be able to reverse engineer the file structure from the hex and ascii representation obtainable with the above program, but it's going to be very tedious. Will Build Nuclear Missile For Food - No Target Too Small

          A P 2 Replies Last reply
          0
          • S Steve S

            Bad day at the office? Steve S

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #6

            No, I'm rarely tolerant of stupidity. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

            1 Reply Last reply
            0
            • A aguest

              you don't understand what i want. i have database file with unknow extension (maybe *.dbf,*.dbs......)and i want to make a program who can open this file . i am sure that's this file is a database file i won't to make a program who rean any file who can find , i want a program just for this file . like for the files imported from 3Dmax and who can be used with vc++ or other programming language there are a part of code who can read this file . i hope that you understand what i want to do .

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #7

              aguest wrote: you don't understand what i want. Yes, I do. aguest wrote: i want a program just for this file . Writing a program that reads a database format without knowing the format isn't really any harder than writing a program that reads ALL unknown file formats. Both require magic. aguest wrote: i hope that you understand what i want to do . Yeah, I do. As someone else said, you can read it in a hex editor, but you can't write code to read the file format, unless you know what it is. Unless you can point an OLEDB driver at it or something, if it's a format you already have a driver for. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

              R 1 Reply Last reply
              0
              • C Christian Graus

                aguest wrote: you don't understand what i want. Yes, I do. aguest wrote: i want a program just for this file . Writing a program that reads a database format without knowing the format isn't really any harder than writing a program that reads ALL unknown file formats. Both require magic. aguest wrote: i hope that you understand what i want to do . Yeah, I do. As someone else said, you can read it in a hex editor, but you can't write code to read the file format, unless you know what it is. Unless you can point an OLEDB driver at it or something, if it's a format you already have a driver for. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                R Offline
                R Offline
                Roger Wright
                wrote on last edited by
                #8

                Christian Graus wrote: Both require magic. :laugh::laugh: I've invoked a few spirits to solve a software problem in my time, not to mention the occasional use of someone's name in vain, but magic has proven to be an unreliable tool at best. Will Build Nuclear Missile For Food - No Target Too Small

                P 1 Reply Last reply
                0
                • R Roger Wright

                  You can open and view nearly every file with the Hex Editor available here[^]. The problem will be in interpreting what you see. Each DBMS uses its own internal storage format, and no tool I've found can identify and read them all. You may, with much patience, be able to reverse engineer the file structure from the hex and ascii representation obtainable with the above program, but it's going to be very tedious. Will Build Nuclear Missile For Food - No Target Too Small

                  A Offline
                  A Offline
                  Anonymous
                  wrote on last edited by
                  #9

                  thank you ,i will try with the Hex Editor .

                  1 Reply Last reply
                  0
                  • R Roger Wright

                    You can open and view nearly every file with the Hex Editor available here[^]. The problem will be in interpreting what you see. Each DBMS uses its own internal storage format, and no tool I've found can identify and read them all. You may, with much patience, be able to reverse engineer the file structure from the hex and ascii representation obtainable with the above program, but it's going to be very tedious. Will Build Nuclear Missile For Food - No Target Too Small

                    P Offline
                    P Offline
                    Prakash Nadar
                    wrote on last edited by
                    #10

                    Hex Editor, yeah they are good, they open anything... anything.:)


                    MSN Messenger. prakashnadar@msn.com Tip of the day of visual C++ IDE. "We use it before you do! Visual C++ was developed using Visual C++"

                    R 1 Reply Last reply
                    0
                    • P Prakash Nadar

                      Hex Editor, yeah they are good, they open anything... anything.:)


                      MSN Messenger. prakashnadar@msn.com Tip of the day of visual C++ IDE. "We use it before you do! Visual C++ was developed using Visual C++"

                      R Offline
                      R Offline
                      Roger Wright
                      wrote on last edited by
                      #11

                      Well, I actually found one that this program can't open. It was an Access .mdb, but it may be due to security settings. It also choked on a .asp file, but that one was on an active server and probably couldn't be opened exclusively.:-O Will Build Nuclear Missile For Food - No Target Too Small

                      1 Reply Last reply
                      0
                      • R Roger Wright

                        Christian Graus wrote: Both require magic. :laugh::laugh: I've invoked a few spirits to solve a software problem in my time, not to mention the occasional use of someone's name in vain, but magic has proven to be an unreliable tool at best. Will Build Nuclear Missile For Food - No Target Too Small

                        P Offline
                        P Offline
                        ProffK
                        wrote on last edited by
                        #12

                        wotsit.org is a lot better than magic for cracking file formats. ;) My blog.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups