Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

Holding Information

I am looking for a way to save information.  I want to create a database like information center in Visual Basic or C++ (preferrably VB) without actually using a database.  My concerns:

1) Size of the saved file
2) Information access speed

What is the most efficient way to do this.

I guess my question is for example, how does Excel hold information in a file and then read it quickly when opening the files?
0
cruzer330
Asked:
cruzer330
1 Solution
 
Brendt HessSenior DBACommented:
Your design will depend on what type of information you want to retain, and how much information.

Will your data be in 'Records' (with fixed maximum size fields), or will it be free-form

Will you have 100 or less records, 1,000,000 records, or somewhere in between?

Will the user be designing the data layouts, or will they be fixed by the program?

Before knowing at least this, there is really no way for anyone to answer this question.
0
 
Arthur_WoodCommented:
why do you not want to "actually use a database".  VB can create an Access Database EVEN IF YOU DO NOT OWN a copy of Access.

Arthur Wood
0
 
cruzer330Author Commented:
bhess1:  There will be information records ranging starting with 1000 records and upwards.  The fields and types will be fixed type and amount.

Arthur Wood: Interesting.  But I want to make sure that my distribution copy is not too large either. Please explain a little of your method.

Say for example, baseball player information.  First name, Last Name would be a text field and so on.  At-bats, hits, strikeouts would be a number field and so on.  I would like to sort on different fields.  Also hold names in one "recordset" and daily stats matched with a unique record in another.  In addition, I would like quick ways to total the daily stats and come up with monthly/seasonal information.  Am I asking too much?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Alon HirschSoftware Development ManagerCommented:
As Arthur suggest - you do not need Access in order to create an access database, or any of the other supported database formats either (DBF etc.).
I would recommend using an Access type database - it's simple and works very well from within VB.

Using VB6 - simply choose 'Visual Data Manager' from the 'Add-Ins' menu, and you will be presented with a VB program for creating Access '97 type databases.

If you would prefer to use an Access 2000 database, you can create it using Access 2000 (if you have it) or via code using ADOX. Simply search the help files for ADOX.

HTH,
Alon
0
 
DanRollinsCommented:
Hi cruzer330,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Arthur_Wood@devx's comment(s) as an answer.

cruzer330, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
Computer101Commented:
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now