Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-27-2005, 12:15 AM   #1
Foldin' For PCMech!
 
enhanced08's Avatar
 
Join Date: Jun 2003
Location: back home in McHenry MD
Posts: 1,657
Send a message via AIM to enhanced08 Send a message via MSN to enhanced08
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
Help save lives! Click Here
AMD 4800+ X2 @ 2750Mhz (250 x 11) | DFI LanParty UT CFX3200 | 2GB Mushkin pc4000 3-3-2-8 1:1
Sapphire X1900GT 256MB | (2) 150GB Raptors RAID0 | WD 320GB
enhanced08 is offline   Reply With Quote
Old 07-27-2005, 01:44 AM   #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.
Thebranded is offline   Reply With Quote
Old 07-27-2005, 11:40 AM   #3
Foldin' For PCMech!
 
enhanced08's Avatar
 
Join Date: Jun 2003
Location: back home in McHenry MD
Posts: 1,657
Send a message via AIM to enhanced08 Send a message via MSN to enhanced08
but i need a program to do this. like make a C++ program or something. is there anyway i can control rededit with C++?
enhanced08 is offline   Reply With Quote
Old 07-27-2005, 11:46 AM   #4
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Check this out. It's a wrapper for manipulating the registry in C++: http://www.codeproject.com/system/CP...tryWrapper.asp
doctorgonzo is offline   Reply With Quote
Old 07-27-2005, 11:52 AM   #5
Foldin' For PCMech!
 
enhanced08's Avatar
 
Join Date: Jun 2003
Location: back home in McHenry MD
Posts: 1,657
Send a message via AIM to enhanced08 Send a message via MSN to enhanced08
alright thanks! i'm not very good at C++ so, whats a wrapper?
enhanced08 is offline   Reply With Quote
Old 07-27-2005, 11:55 AM   #6
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 07-27-2005, 12:01 PM   #7
Foldin' For PCMech!
 
enhanced08's Avatar
 
Join Date: Jun 2003
Location: back home in McHenry MD
Posts: 1,657
Send a message via AIM to enhanced08 Send a message via MSN to enhanced08
ahh... i like the idea! lol, thanks a lot!
enhanced08 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:54 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2