How to save data withought database ?

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

Ok. im new to programming. and sorry for fuzzy discription :)
I am using a program called leechget. this is download manager that i use on
the net.
When i add a dowload , i can see the information such as path , file name
and size , etc, in the grid .
but i can not find any file that saves those inforamtion. there are no
database, no textfile or xml files.
I was wondring , how those information been saved and where?
As download manager, i can add stuff to it , and close the application and
run it another time, it also shows me the history of the download so i asume
those info must have been saved somewhere.
I would appreciate any info. Im just realy curiouse about it .
 
The data probably saved in the Registry (Windows System Database).
To edit the registry (don't try if you don't know what are you doing) run
RegEdit.exe from the Start > Run.

You can use SaveSettings and GetSettings to access a registry in VB.
and you can use parameters as 'Registry' to access the Windows Registry (see
MSDN for Registry).
 
Thanks Alex
You are absulotly right. all the info about the download , software
configuration and etc are in system registry.
One question, is this type of settings and inforamtion saving better then
creating Database of some sort ?
or is it better to create database and stor this informations including
application settings right in database such as access or xml or texfile?

Thanks a million
 
Tony said:
You are absulotly right. all the info about the download , software
configuration and etc are in system registry.
One question, is this type of settings and inforamtion saving better then
creating Database of some sort ?
or is it better to create database and stor this informations including
application settings right in database such as access or xml or texfile?

INI files (for example in XML format) have the advantage of easily
distributing/copying/editing and keeping everyting in the same place.
Nevertheless, you should not store too much data in the system registry.
For language configurations and MRU file lists, INI files might be the
better choice.
 
Accessing the registry is much faster then a database.
But if you want to store a lot of data, use database.
The reson is if you add a lot of data to the registry it will slow the
performance of your windows because it will take your windows more time to
search the registry for the system recources.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top