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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SaveStringSettings GetStringSettings.....GetAllStringSettings???

Status
Not open for further replies.

PNorman

Programmer
Feb 7, 2005
30
US
Is there anyway to get all the settings using the API and then loop through them such as with the GetAllSettings command?

Also...how do I delete a setting?


thanks much
 
Closest you'll get to getAllSettings is the RegQueryMultipleValues API call

RegDeleteValue is probab;ly the other call that you are looking for.

However, if you want to avoid all the regitry API stuff and at the same time want to escape being forced to use the specific part of the registry that the built-in VB functions give you access to then might I suggest that you have a look at the Regread, regWrite and RegDelete functions of the Windows Scripting Host library
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top