Go use xml. It is fast, it is designed for such kind of things, it is widely supported and easily read by other processes. By using the register as a storage resources you will make your system slows down, even that the process of retrieving information is a little faster * for me it isn't at least. Or embed sqlite in your software if you plan to have a really large amount of data stored. Marlon 2007/10/18, Bryan Garaventa <bgaraventa11@xxxxxxxxxxxxxx>: > Ah, yes. I had a similar thought. Since it's uncertain how many urls will be > stored at any given time, likely a sub key called History would work, with > each url being added as sub variables. This would also make it easier to > clear by deleting the parent key (History). > > Inthane, > > I thought about using an ini file as well, but it appears to work quite a > bit slower than the registry for retrieve/write functionality. Plus it gets > slower the larger the ini file becomes. > > Thanks for the suggestions, > > Bryan > ----- Original Message ----- > From: "Jamal Mazrui" <empower@xxxxxxxxx> > To: <programmingblind@xxxxxxxxxxxxx> > Sent: Thursday, October 18, 2007 3:25 PM > Subject: Re: How much text can go into a registry variable? > > > > Not sure, but I think you'd hit the limit if storing multiple URLs. I > > suggest creating a seperate value name for each, e.g., > > URL001, URL002, etc. > > > > Jamal > > On Thu, 18 Oct 2007, > > Bryan Garaventa wrote: > > > >> Date: Thu, 18 Oct 2007 14:48:18 -0700 > >> From: Bryan Garaventa <bgaraventa11@xxxxxxxxxxxxxx> > >> Reply-To: programmingblind@xxxxxxxxxxxxx > >> To: programmingblind@xxxxxxxxxxxxx > >> Subject: How much text can go into a registry variable? > >> > >> I have a long list of urls, that I'm currently saving into a key in the > >> registry. However, urls are being added to this list all the time, and > >> the > >> string within my History variable is expanding rapidly. > >> > >> For instance, the list is currently being saved under Software\MyApp, > >> under > >> the variable name History > >> > >> I wouldn't want to break the registry though if there is a string size > >> limit, so thought it might be best to ask, since this list is contained > >> within one string. > >> > >> __________ > >> View the list's information and change your settings at > >> //www.freelists.org/list/programmingblind > >> > > __________ > > View the list's information and change your settings at > > //www.freelists.org/list/programmingblind > > > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > -- When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind