Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configuration files

Status
Not open for further replies.

wallisd

IS-IT--Management
Jul 23, 2001
2
US
What is the best way to handle configuration for a VB app? I have a reporting application that reports on different database fields for different customers. I would like to create a configuration screen where I can toggle which fields are reported for which customer. What I don't know is where the best place to store this information would be. I imagine that it would either be in a regkey or in an .ini file, but I don't yet have experience with either of those.

Any advice is appreciated!
 
Well, I guess the correct way to do it would be using the registry as .ini files are no longer 'flavour of the month' in Redmond.

Use the SaveSetting command to save values into the registry and the GetSetting to retrieve them.

Chaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top