trisolve Posted December 29, 2003 Posted December 29, 2003 I am writing a complex database program with lots of user customizable settings. Most of them are menus. What is the best way to save the settings? File/Registry or other? Please if you can give me an code example that would be great. Thanks! trisolve Quote
samsmithnz Posted December 29, 2003 Posted December 29, 2003 It depends on how many 'lots' is. The registry can be expensive to access for lots of items, so its probably best to use your database to hold these menus. Quote Thanks Sam http://www.samsmith.co.nz
iebidan Posted December 29, 2003 Posted December 29, 2003 if you don't want to use the database you can try using some XML to hold these settings and everytime the app starts you can load the settings stored in the XML file Quote Fat kids are harder to kidnap
hog Posted January 5, 2004 Posted January 5, 2004 I was an avid user of the registry until I got my head around xml. Now I save all app settings in xml files Quote My website
RonQ Posted January 5, 2004 Posted January 5, 2004 This could help you: http://searchvb.techtarget.com/vsnetATEAnswers/0,293820,sid8_gci831710_tax293474,00.html and it has a link to MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchCreateYourOwnDynamicPropertiesPreservePropertySettingsInVisualBasicNET.asp This, they say, "is the proper way to save configuration settings in the .NET environment". Bye, Ronq. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.