Most recent files list

Trubble

Member
Joined
Aug 6, 2005
Messages
6
Programming Experience
5-10
For anyone that's had experience in data access.

I am creating a program in which I want to keep a list of the most recent past ten files which have been opened from the file menu (as most programs do)

In anyones opinion which is the most widely used and efficient way to go about persistent data storage.... flat text file, xml data file, access database, sql db (if you have a server), or is there another way that I am not aware of.

thanks in advance...
 
Thanks for the reply, that is what was my most prominent choice. A database seemed to be a little bit of an overkill...

Just out of curiosity, If you wanted to do it in the registry how would you go about it?
 
Registry

I think u might have seen how it's there in registry for most of the application, I will attach a image of my registry, but the advantage having xml is u can extend the schema as ur wish, for ex if u want to show the last date that file has been opened using ur application u can store that data, and if u want to show the number of times ur application opened a particular file that also possible... to have the extensibility using the registry is very limited
 

Attachments

  • reg2.JPG
    reg2.JPG
    58 KB · Views: 59
  • reg.JPG
    reg.JPG
    58.2 KB · Views: 54
Thanks for the info. For the purpose of portability and not leaving any footprints on the computer running the app XML is the best choice.:)
 
Back
Top