Solved

Holding Information

Posted on 2002-07-17
6
190 Views
Last Modified: 2010-05-02
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
Comment
Question by:cruzer330
6 Comments
 
LVL 32

Expert Comment

by:bhess1
ID: 7159916
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
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 100 total points
ID: 7159944
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
 

Author Comment

by:cruzer330
ID: 7160281
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 4

Expert Comment

by:AlonHirsch
ID: 7161384
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
 
LVL 49

Expert Comment

by:DanRollins
ID: 8013827
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
 
LVL 1

Expert Comment

by:Computer101
ID: 8096079
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question