By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,469 Members | 1,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,469 IT Pros & Developers. It's quick & easy.

I know this is my 2nd (and final) cross-post, but which NG should I use for data files

P: n/a
Hi All

I know this is my 2nd (and final) cross-post, but which NG should I use for
the below.

I want to create a game that queries and updates text and numeric stats on a
regular basis, so I'm looking for a data file method that allows me to query
and update the file from a VB app.

I use MS Access/ASP on a daily basis and was hoping to use this knowledge to
create this app, but after seeing the ridiculous dependency downloads (eg,
120MB for the MS Access run-time download, 8MB for ADO, etc) I can't believe
anybody can develop anything of this kind. In which case:

a) Does anybody know and use a small (and poss free) RDMS?

b) If I go the Access DB route (which I prefer) is it best to create such as
an Access 97 version of my prog, an Access 2000 version and then state that
they need Win2000/XP/NT running MS Access to use it?

I know this is very limiting, but won't this cater for the VBRuntime,
FileSysObject, ADO and MS Access references/DLLs?

Is there any other way?

c) If not, is it best to look at Random Access files? These seem database
orientated and don't seem to need any external DLLs/OCXs.

I've been told about Seq, Binary and INI files, but the whole process of
querying them, eg I need the details of code BE01, and updating them, eg add
6 to ZX02's current total of 10, seems very complicated. Is this true or
can somebody show me an example to differ?

d) If I go the Random Access/Seq/INI option they don't seem to be any good
when it comes to protection. You can simply open them up in a text file and
change the content.

I did a VB game a long time ago whereby all of the text file was in an ASCII
code format (complex or what??) and did a little routine to convert this
back when it was read in by the VB app's array.

Problem was that this was very slow to say what data was in the file and I
couldn't write back to the file because it was all in ASCII code.

I've seen data files look like mumbo-jumbo and they read and write data at a
speed that you don't notice any lag whatsoever, so how the hell do you
experts do it?

I know I'm asking a lot here, but I just want to be put on the right path so
that I don't scrap it half way through development. I can't be the first to
tackle this plan.

Many thanks.

Rgds

Laphan
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can try Sequential and/or Random access files instead of a database.
Check help under "Open", "Input", "output" or "Random" for information on
using them.

Kim

"Laphan" <ne**@FrozenMoles.co.uk> wrote in message
news:be**********@sparta.btinternet.com...
Hi All

I know this is my 2nd (and final) cross-post, but which NG should I use for the below.

I want to create a game that queries and updates text and numeric stats on a regular basis, so I'm looking for a data file method that allows me to query and update the file from a VB app.

I use MS Access/ASP on a daily basis and was hoping to use this knowledge to create this app, but after seeing the ridiculous dependency downloads (eg,
120MB for the MS Access run-time download, 8MB for ADO, etc) I can't believe anybody can develop anything of this kind. In which case:

a) Does anybody know and use a small (and poss free) RDMS?

b) If I go the Access DB route (which I prefer) is it best to create such as an Access 97 version of my prog, an Access 2000 version and then state that they need Win2000/XP/NT running MS Access to use it?

I know this is very limiting, but won't this cater for the VBRuntime,
FileSysObject, ADO and MS Access references/DLLs?

Is there any other way?

c) If not, is it best to look at Random Access files? These seem database
orientated and don't seem to need any external DLLs/OCXs.

I've been told about Seq, Binary and INI files, but the whole process of
querying them, eg I need the details of code BE01, and updating them, eg add 6 to ZX02's current total of 10, seems very complicated. Is this true or
can somebody show me an example to differ?

d) If I go the Random Access/Seq/INI option they don't seem to be any good
when it comes to protection. You can simply open them up in a text file and change the content.

I did a VB game a long time ago whereby all of the text file was in an ASCII code format (complex or what??) and did a little routine to convert this
back when it was read in by the VB app's array.

Problem was that this was very slow to say what data was in the file and I
couldn't write back to the file because it was all in ASCII code.

I've seen data files look like mumbo-jumbo and they read and write data at a speed that you don't notice any lag whatsoever, so how the hell do you
experts do it?

I know I'm asking a lot here, but I just want to be put on the right path so that I don't scrap it half way through development. I can't be the first to tackle this plan.

Many thanks.

Rgds

Laphan

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.