Click to See Complete Forum and Search --> : how to edit the registry


wuhoo
April 26th, 2004, 01:27 AM
im using c++ net7.0

my general problem is that i need to go into the registry, traverse through a few folders(creating them if they are not there), and then add a file to the appropriate folder...

does any1 have experience doing this? can you point me in the right direction?

thanks

Andy Tacker
April 26th, 2004, 09:49 AM
Look for
Microsoft.Win32.Registry class

WMCoolmon
April 28th, 2004, 07:45 PM
Alternatively, look up "RegOpenKeyEx" and "RegCreateKeyEx" for the Win32 API functions.