Looking for some advice for my program
- From: "Kardon Coupé" <prefer.to@xxxxxxxxxxxxxxxxx>
- Date: Sat, 2 Feb 2008 09:41:15 -0000
Dear All,
I have been thinking for a while now and can't come to a conclusion for this
problem
I've written a program that saves settings and other information in a .txt
file and reads it when the program loads.. up until now, when I've upgraded
the program I've had to advise the 'testers' to uninstall and re-install
because I've added extra things and the old settings (.txt files) and other
stuff would cause a crash, as the program is looking for one thing, and
finds something else...even when I introduced a new option, it was easier
for me to create a new .txt file for that particular part. Ultimately I
would love everything within one file, be it a .txt file, or even a binary
file that was as visible to the user....
What I ask, is there a fool safe way of saving information, so that any
upgrades aren't as painful?
I was thinking (if I was going to stay within the .txt file format) to maybe
have a number system, I.e. the program reads the settings number and dumps
it into the required setting based on the number...but I'm thinking that may
be too complicated...
I've used many a program that you can over-upgrade and most if not all your
settings carry over, I would like to achieve the same thing...
Hope this makes sense..
Regards
Paul.
.
- Follow-Ups:
- Re: Looking for some advice for my program
- From: Steve Gerrard
- Re: Looking for some advice for my program
- From: Larry Serflaten
- Re: Looking for some advice for my program
- From: Bob Butler
- Re: Looking for some advice for my program
- From: Jan Hyde (VB MVP)
- Re: Looking for some advice for my program
- From: RB Smissaert
- Re: Looking for some advice for my program
- Prev by Date: Re: Back to VB6 and .NET
- Next by Date: Re: Looking for some advice for my program
- Previous by thread: Re: Export to PDF using VB 6.0
- Next by thread: Re: Looking for some advice for my program
- Index(es):
Relevant Pages
|
Loading