Anyone know how to rename a registry key in visual basic through API besides saving the whole key to a file then restoring it uvder a different name?
Printable View
Anyone know how to rename a registry key in visual basic through API besides saving the whole key to a file then restoring it uvder a different name?
You certainly don't have to save the key to file. Just read the value of the old key, delete the key, create a new key and store the value from the old key in the new key. I might be missing the point here, why would you want to save anything to file?
By the way, here is a link to the win32api registry functions (MSDN): http://msdn.microsoft.com/library/de..._functions.asp
www.planetsourcecode.com has a huge resource of API implementations...
quite a few on editing the Registry...