Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Reading a Binary File

Discussion in 'Information Technology' started by Pradeep, Jul 28, 2006.

  1. Pradeep

    Pradeep
    Expand Collapse
    Guest

    I have a binary file which was created from access. Information such as the
    minimum value and maximum value is stored in it daily. To me it appears that
    it stores a user defined type say X which has a and b as attributes. b is the
    maximum values based on which the ID is generated the next day.

    I want to know a method or reader using which I can open the file and see
    the entire contents. It would be great if it is as cool as a typical File-->
    Open functionality.

    Please suggest.

    Thanks,

    Pradeep
     
  2. Loading...

    Similar Threads Forum Date
    Does Reading Baani Magically Affect Our Body And Psyche? And Does The Effect Depend On The Bani Read Intellectual Translations by SPNers Apr 30, 2016
    Emphasis When Reading Gurbani Intellectual Translations by SPNers Feb 14, 2016
    Interfaith Sikh Santa is Spreading the Festive Love Interfaith Dialogues Dec 20, 2015
    Grammer / Vyakarn U Will Love Reading Japji Sahib After Learning This. Easiest Japji Sahib Santhiya/grammer Language, Arts & Culture Mar 10, 2015
    UK Reading Sikhs Teach Mp A Lesson In Tying A Turban Breaking News Mar 10, 2015

  3. Nick Coe \(UK\)

    Nick Coe \(UK\)
    Expand Collapse
    Guest

    Is this an Access file?

    If so and you don't have Access then have a look at

    http://mdbtools.sourceforge.net/

    The various versions of VB can be used to read these files.
    Excel and Word (to a limited degree) can query the file to
    display the data. Most programs which can use ODBC will
    read a Jet/Access file for you.

    If it's not an Access format (or Jet) file I have no other
    suggestions.

    --
    Nick Coe (UK)
    http://www.alphacos.co.uk/ AccHelp is now Free
    http://www.mrcomputersltd.com/ Repairs Upgrades

    In news:8D8C1AC9-33FF-45A9-B413-C2A0EE886E38@microsoft.com,
    Pradeep typed:
    > I have a binary file which was created from access.
    > Information such as the minimum value and maximum value is
    > stored in it daily. To me it appears that it stores a user
    > defined type say X which has a and b as attributes. b is
    > the
    > maximum values based on which the ID is generated the next
    > day.
    >
    > I want to know a method or reader using which I can open
    > the
    > file and see the entire contents. It would be great if it
    > is
    > as cool as a typical File--> Open functionality.
    >
    > Please suggest.
    >
    > Thanks,
    >
    > Pradeep
     
  4. Pradeep

    Pradeep
    Expand Collapse
    Guest

    It is generated from access using the Open method and assigning the file a
    random number using FreeFile. It can be created using Excel or access or
    word. We use the Open function (given in access) to read it. It does not open
    in word or Access.

    Please suggest.

    Thanks,

    Pradeep

    "Nick Coe (UK)" wrote:

    > Is this an Access file?
    >
    > If so and you don't have Access then have a look at
    >
    > http://mdbtools.sourceforge.net/
    >
    > The various versions of VB can be used to read these files.
    > Excel and Word (to a limited degree) can query the file to
    > display the data. Most programs which can use ODBC will
    > read a Jet/Access file for you.
    >
    > If it's not an Access format (or Jet) file I have no other
    > suggestions.
    >
    > --
    > Nick Coe (UK)
    > http://www.alphacos.co.uk/ AccHelp is now Free
    > http://www.mrcomputersltd.com/ Repairs Upgrades
    >
    > In news:8D8C1AC9-33FF-45A9-B413-C2A0EE886E38@microsoft.com,
    > Pradeep typed:
    > > I have a binary file which was created from access.
    > > Information such as the minimum value and maximum value is
    > > stored in it daily. To me it appears that it stores a user
    > > defined type say X which has a and b as attributes. b is
    > > the
    > > maximum values based on which the ID is generated the next
    > > day.
    > >
    > > I want to know a method or reader using which I can open
    > > the
    > > file and see the entire contents. It would be great if it
    > > is
    > > as cool as a typical File--> Open functionality.
    > >
    > > Please suggest.
    > >
    > > Thanks,
    > >
    > > Pradeep

    >
    >
    >
     
  5. Brendan Reynolds

    Brendan Reynolds
    Expand Collapse
    Guest

    It is a custom file, and therefore custom code is required to read it. You
    could adapt the existing code from the Access app to read it and output the
    results to a text file.

    This method of reading and writing files has been deprecated by Microsoft
    for quite some time now, and documentation is now difficult to find. I tried
    a search at Google but I'm afraid I have not been able to find any useful
    references that I could recommend to you.

    --
    Brendan Reynolds
    Access MVP

    "Pradeep" <Pradeep@discussions.microsoft.com> wrote in message
    news:797FB9EF-14C0-4CD9-8684-730ED8C3819A@microsoft.com...
    > It is generated from access using the Open method and assigning the file a
    > random number using FreeFile. It can be created using Excel or access or
    > word. We use the Open function (given in access) to read it. It does not
    > open
    > in word or Access.
    >
    > Please suggest.
    >
    > Thanks,
    >
    > Pradeep
    >
    > "Nick Coe (UK)" wrote:
    >
    >> Is this an Access file?
    >>
    >> If so and you don't have Access then have a look at
    >>
    >> http://mdbtools.sourceforge.net/
    >>
    >> The various versions of VB can be used to read these files.
    >> Excel and Word (to a limited degree) can query the file to
    >> display the data. Most programs which can use ODBC will
    >> read a Jet/Access file for you.
    >>
    >> If it's not an Access format (or Jet) file I have no other
    >> suggestions.
    >>
    >> --
    >> Nick Coe (UK)
    >> http://www.alphacos.co.uk/ AccHelp is now Free
    >> http://www.mrcomputersltd.com/ Repairs Upgrades
    >>
    >> In news:8D8C1AC9-33FF-45A9-B413-C2A0EE886E38@microsoft.com,
    >> Pradeep typed:
    >> > I have a binary file which was created from access.
    >> > Information such as the minimum value and maximum value is
    >> > stored in it daily. To me it appears that it stores a user
    >> > defined type say X which has a and b as attributes. b is
    >> > the
    >> > maximum values based on which the ID is generated the next
    >> > day.
    >> >
    >> > I want to know a method or reader using which I can open
    >> > the
    >> > file and see the entire contents. It would be great if it
    >> > is
    >> > as cool as a typical File--> Open functionality.
    >> >
    >> > Please suggest.
    >> >
    >> > Thanks,
    >> >
    >> > Pradeep

    >>
    >>
    >>
     
  6. Pradeep

    Pradeep
    Expand Collapse
    Guest

    Thanks Brendan,

    I am not able to read it using any software so far.

    I will have to find it myself, I guess.

    Thanks anyhow,

    Pradeep

    "Brendan Reynolds" wrote:

    > It is a custom file, and therefore custom code is required to read it. You
    > could adapt the existing code from the Access app to read it and output the
    > results to a text file.
    >
    > This method of reading and writing files has been deprecated by Microsoft
    > for quite some time now, and documentation is now difficult to find. I tried
    > a search at Google but I'm afraid I have not been able to find any useful
    > references that I could recommend to you.
    >
    > --
    > Brendan Reynolds
    > Access MVP
    >
    > "Pradeep" <Pradeep@discussions.microsoft.com> wrote in message
    > news:797FB9EF-14C0-4CD9-8684-730ED8C3819A@microsoft.com...
    > > It is generated from access using the Open method and assigning the file a
    > > random number using FreeFile. It can be created using Excel or access or
    > > word. We use the Open function (given in access) to read it. It does not
    > > open
    > > in word or Access.
    > >
    > > Please suggest.
    > >
    > > Thanks,
    > >
    > > Pradeep
    > >
    > > "Nick Coe (UK)" wrote:
    > >
    > >> Is this an Access file?
    > >>
    > >> If so and you don't have Access then have a look at
    > >>
    > >> http://mdbtools.sourceforge.net/
    > >>
    > >> The various versions of VB can be used to read these files.
    > >> Excel and Word (to a limited degree) can query the file to
    > >> display the data. Most programs which can use ODBC will
    > >> read a Jet/Access file for you.
    > >>
    > >> If it's not an Access format (or Jet) file I have no other
    > >> suggestions.
    > >>
    > >> --
    > >> Nick Coe (UK)
    > >> http://www.alphacos.co.uk/ AccHelp is now Free
    > >> http://www.mrcomputersltd.com/ Repairs Upgrades
    > >>
    > >> In news:8D8C1AC9-33FF-45A9-B413-C2A0EE886E38@microsoft.com,
    > >> Pradeep typed:
    > >> > I have a binary file which was created from access.
    > >> > Information such as the minimum value and maximum value is
    > >> > stored in it daily. To me it appears that it stores a user
    > >> > defined type say X which has a and b as attributes. b is
    > >> > the
    > >> > maximum values based on which the ID is generated the next
    > >> > day.
    > >> >
    > >> > I want to know a method or reader using which I can open
    > >> > the
    > >> > file and see the entire contents. It would be great if it
    > >> > is
    > >> > as cool as a typical File--> Open functionality.
    > >> >
    > >> > Please suggest.
    > >> >
    > >> > Thanks,
    > >> >
    > >> > Pradeep
    > >>
    > >>
    > >>

    >
    >
    >
     
  7. Brendan Reynolds

    Brendan Reynolds
    Expand Collapse
    Guest

    I'm not sure you understood my response, Pradeep. You won't find any
    off-the-shelf third-party software to read this file, because it is a custom
    file, based on the user-defined-type created by the original developer,
    which of course is unknown to any third party.

    I finally managed to track down some documentation on the use of
    user-defined-types and random access files, here's a link ...

    http://www.engineering.usu.edu/cee/...e_Calculators/VisualBasic_Docs/VBChapter9.pdf

    --
    Brendan Reynolds
    Access MVP

    "Pradeep" <Pradeep@discussions.microsoft.com> wrote in message
    news:19742274-F878-44B7-AEE9-C64DAF0EF57B@microsoft.com...
    > Thanks Brendan,
    >
    > I am not able to read it using any software so far.
    >
    > I will have to find it myself, I guess.
    >
    > Thanks anyhow,
    >
    > Pradeep
    >
    > "Brendan Reynolds" wrote:
    >
    >> It is a custom file, and therefore custom code is required to read it.
    >> You
    >> could adapt the existing code from the Access app to read it and output
    >> the
    >> results to a text file.
    >>
    >> This method of reading and writing files has been deprecated by Microsoft
    >> for quite some time now, and documentation is now difficult to find. I
    >> tried
    >> a search at Google but I'm afraid I have not been able to find any useful
    >> references that I could recommend to you.
    >>
    >> --
    >> Brendan Reynolds
    >> Access MVP
    >>
    >> "Pradeep" <Pradeep@discussions.microsoft.com> wrote in message
    >> news:797FB9EF-14C0-4CD9-8684-730ED8C3819A@microsoft.com...
    >> > It is generated from access using the Open method and assigning the
    >> > file a
    >> > random number using FreeFile. It can be created using Excel or access
    >> > or
    >> > word. We use the Open function (given in access) to read it. It does
    >> > not
    >> > open
    >> > in word or Access.
    >> >
    >> > Please suggest.
    >> >
    >> > Thanks,
    >> >
    >> > Pradeep
    >> >
    >> > "Nick Coe (UK)" wrote:
    >> >
    >> >> Is this an Access file?
    >> >>
    >> >> If so and you don't have Access then have a look at
    >> >>
    >> >> http://mdbtools.sourceforge.net/
    >> >>
    >> >> The various versions of VB can be used to read these files.
    >> >> Excel and Word (to a limited degree) can query the file to
    >> >> display the data. Most programs which can use ODBC will
    >> >> read a Jet/Access file for you.
    >> >>
    >> >> If it's not an Access format (or Jet) file I have no other
    >> >> suggestions.
    >> >>
    >> >> --
    >> >> Nick Coe (UK)
    >> >> http://www.alphacos.co.uk/ AccHelp is now Free
    >> >> http://www.mrcomputersltd.com/ Repairs Upgrades
    >> >>
    >> >> In news:8D8C1AC9-33FF-45A9-B413-C2A0EE886E38@microsoft.com,
    >> >> Pradeep typed:
    >> >> > I have a binary file which was created from access.
    >> >> > Information such as the minimum value and maximum value is
    >> >> > stored in it daily. To me it appears that it stores a user
    >> >> > defined type say X which has a and b as attributes. b is
    >> >> > the
    >> >> > maximum values based on which the ID is generated the next
    >> >> > day.
    >> >> >
    >> >> > I want to know a method or reader using which I can open
    >> >> > the
    >> >> > file and see the entire contents. It would be great if it
    >> >> > is
    >> >> > as cool as a typical File--> Open functionality.
    >> >> >
    >> >> > Please suggest.
    >> >> >
    >> >> > Thanks,
    >> >> >
    >> >> > Pradeep
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>
     
  8. Pradeep

    Pradeep
    Expand Collapse
    Guest

    Yes Brendan,

    I did understand what you said earlier.

    I wanted to say that I will have to develop code using which I can output
    the content of the binary file to a text file as you suggested earlier.

    I will go through the link and will write some code to do the same.

    You have been very helpful.

    Thanks,

    Pradeep

    "Brendan Reynolds" wrote:

    > I'm not sure you understood my response, Pradeep. You won't find any
    > off-the-shelf third-party software to read this file, because it is a custom
    > file, based on the user-defined-type created by the original developer,
    > which of course is unknown to any third party.
    >
    > I finally managed to track down some documentation on the use of
    > user-defined-types and random access files, here's a link ...
    >
    > http://www.engineering.usu.edu/cee/...e_Calculators/VisualBasic_Docs/VBChapter9.pdf
    >
    > --
    > Brendan Reynolds
    > Access MVP
    >
    > "Pradeep" <Pradeep@discussions.microsoft.com> wrote in message
    > news:19742274-F878-44B7-AEE9-C64DAF0EF57B@microsoft.com...
    > > Thanks Brendan,
    > >
    > > I am not able to read it using any software so far.
    > >
    > > I will have to find it myself, I guess.
    > >
    > > Thanks anyhow,
    > >
    > > Pradeep
    > >
    > > "Brendan Reynolds" wrote:
    > >
    > >> It is a custom file, and therefore custom code is required to read it.
    > >> You
    > >> could adapt the existing code from the Access app to read it and output
    > >> the
    > >> results to a text file.
    > >>
    > >> This method of reading and writing files has been deprecated by Microsoft
    > >> for quite some time now, and documentation is now difficult to find. I
    > >> tried
    > >> a search at Google but I'm afraid I have not been able to find any useful
    > >> references that I could recommend to you.
    > >>
    > >> --
    > >> Brendan Reynolds
    > >> Access MVP
    > >>
    > >> "Pradeep" <Pradeep@discussions.microsoft.com> wrote in message
    > >> news:797FB9EF-14C0-4CD9-8684-730ED8C3819A@microsoft.com...
    > >> > It is generated from access using the Open method and assigning the
    > >> > file a
    > >> > random number using FreeFile. It can be created using Excel or access
    > >> > or
    > >> > word. We use the Open function (given in access) to read it. It does
    > >> > not
    > >> > open
    > >> > in word or Access.
    > >> >
    > >> > Please suggest.
    > >> >
    > >> > Thanks,
    > >> >
    > >> > Pradeep
    > >> >
    > >> > "Nick Coe (UK)" wrote:
    > >> >
    > >> >> Is this an Access file?
    > >> >>
    > >> >> If so and you don't have Access then have a look at
    > >> >>
    > >> >> http://mdbtools.sourceforge.net/
    > >> >>
    > >> >> The various versions of VB can be used to read these files.
    > >> >> Excel and Word (to a limited degree) can query the file to
    > >> >> display the data. Most programs which can use ODBC will
    > >> >> read a Jet/Access file for you.
    > >> >>
    > >> >> If it's not an Access format (or Jet) file I have no other
    > >> >> suggestions.
    > >> >>
    > >> >> --
    > >> >> Nick Coe (UK)
    > >> >> http://www.alphacos.co.uk/ AccHelp is now Free
    > >> >> http://www.mrcomputersltd.com/ Repairs Upgrades
    > >> >>
    > >> >> In news:8D8C1AC9-33FF-45A9-B413-C2A0EE886E38@microsoft.com,
    > >> >> Pradeep typed:
    > >> >> > I have a binary file which was created from access.
    > >> >> > Information such as the minimum value and maximum value is
    > >> >> > stored in it daily. To me it appears that it stores a user
    > >> >> > defined type say X which has a and b as attributes. b is
    > >> >> > the
    > >> >> > maximum values based on which the ID is generated the next
    > >> >> > day.
    > >> >> >
    > >> >> > I want to know a method or reader using which I can open
    > >> >> > the
    > >> >> > file and see the entire contents. It would be great if it
    > >> >> > is
    > >> >> > as cool as a typical File--> Open functionality.
    > >> >> >
    > >> >> > Please suggest.
    > >> >> >
    > >> >> > Thanks,
    > >> >> >
    > >> >> > Pradeep
    > >> >>
    > >> >>
    > >> >>
    > >>
    > >>
    > >>

    >
    >
    >
     

Share This Page