|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 | ||
|
Foldin' For PCMech!
|
little help needed. backing up registry
i want to make a program that can backup a specific registry key and save it as txt or dat file and also be able to take that file and put the data in it back into the reg if needed. i can program C++ a little so thats probably what i'll use to make the program. thanks!
__________________
Eric
|
||
|
|
|
|
|
#2 |
|
Member (8 bit)
Join Date: Sep 2004
Posts: 167
|
regedit will do all that
just find the line youo want to export, then go to export, and make sure selected branch is selected and give it a name and export. to restore the file just double click it and a prompt will ask you if you want to import it. |
|
|
|
|
|
#3 |
|
Foldin' For PCMech!
|
but i need a program to do this. like make a C++ program or something. is there anyway i can control rededit with C++?
|
|
|
|
|
|
#4 |
|
Professional gadfly
|
Check this out. It's a wrapper for manipulating the registry in C++: http://www.codeproject.com/system/CP...tryWrapper.asp
|
|
|
|
|
|
#5 |
|
Foldin' For PCMech!
|
alright thanks! i'm not very good at C++ so, whats a wrapper?
|
|
|
|
|
|
#6 |
|
Professional gadfly
|
A wrapper is a class that "wraps" a nicer-looking interface around something that's not as nice. You could easily manipulate the registry in C++ using the function calls from Windows DLLs. However, you would have to know how to call those functions, what they return, how to handle errors, etc. A wrapper does all this for you and presents it in a much more user-friendly manner. Think of it as a little programming utility.
|
|
|
|
|
|
#7 |
|
Foldin' For PCMech!
|
ahh... i like the idea! lol, thanks a lot!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|