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. General Programming
  3. Visual Basic
  4. Use binnary file instead MS Access

Use binnary file instead MS Access

Scheduled Pinned Locked Moved Visual Basic
database
9 Posts 5 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.
  • I Offline
    I Offline
    ivo75
    wrote on last edited by
    #1

    Hi, I want to use binnary file instead MS Access, because I want keep my data in DB

    D 1 Reply Last reply
    0
    • I ivo75

      Hi, I want to use binnary file instead MS Access, because I want keep my data in DB

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      You will have to explain your question in more detail. I don't understand what the question is.

      I 1 Reply Last reply
      0
      • D David Mujica

        You will have to explain your question in more detail. I don't understand what the question is.

        I Offline
        I Offline
        ivo75
        wrote on last edited by
        #3

        I want save my data in binnary file not in MS Access database

        D 1 Reply Last reply
        0
        • I ivo75

          I want save my data in binnary file not in MS Access database

          D Offline
          D Offline
          DaveAuld
          wrote on last edited by
          #4

          You mean you want to create your own data store format for saving data to?

          Dave Find Me On: Web|Facebook|Twitter|LinkedIn


          Folding Stats: Team CodeProject

          I S 2 Replies Last reply
          0
          • D DaveAuld

            You mean you want to create your own data store format for saving data to?

            Dave Find Me On: Web|Facebook|Twitter|LinkedIn


            Folding Stats: Team CodeProject

            I Offline
            I Offline
            ivo75
            wrote on last edited by
            #5

            in Pascal we can to save data to ".dat" file, can I save in VB data in ".dat" format?

            D D 2 Replies Last reply
            0
            • I ivo75

              in Pascal we can to save data to ".dat" file, can I save in VB data in ".dat" format?

              D Offline
              D Offline
              DaveAuld
              wrote on last edited by
              #6

              You can write to any format you want, you just need to know what you are want the file structure to be. See this article as a very basic example; Writing a custom Structure to a binary file in Visual Basic 2008[^]

              Dave Find Me On: Web|Facebook|Twitter|LinkedIn


              Folding Stats: Team CodeProject

              1 Reply Last reply
              0
              • I ivo75

                in Pascal we can to save data to ".dat" file, can I save in VB data in ".dat" format?

                D Offline
                D Offline
                David Mujica
                wrote on last edited by
                #7

                Now I understand your question and I believe someone else has pointed you in the right direction for a solution, but you do realize that now you will be responsible for full data access; meaning searching, updating, deleting ... With a database engine you can write your data access with SQL, with your custom solution you will have to write a custom finder, etc. If it was me, I wouldn't do it. You can always try something like mySQL if you don't like MS-Access. Just my opinion. Can you explain why you need to store your data in a custom .dat file and not some sort of database engine (or .mdb) ? How many rows are we talking about ? 10, 100, 1,000 ... millions ? Maybe you could store your data in an XML file. Good luck. :thumbsup:

                1 Reply Last reply
                0
                • D DaveAuld

                  You mean you want to create your own data store format for saving data to?

                  Dave Find Me On: Web|Facebook|Twitter|LinkedIn


                  Folding Stats: Team CodeProject

                  S Offline
                  S Offline
                  slam Iqbal
                  wrote on last edited by
                  #8

                  I had the same question!!!!!!

                  T 1 Reply Last reply
                  0
                  • S slam Iqbal

                    I had the same question!!!!!!

                    T Offline
                    T Offline
                    Thomas Krojer
                    wrote on last edited by
                    #9

                    for very small amounts of data i used sucessfully the ado recordset save / load method.

                    I cannot remember: What did I before google?

                    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