Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

Sponsored Links



Import registry key with programming

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 28-11-2009
Member
 
Join Date: Nov 2009
Posts: 61
Import registry key with programming

Hi, programming

I am here again with latest query. This time the problem is the registry key. I am developing a program using the .net for my project provided to me by collage. My program require to fetch the data from the registry, but i don't know which method is used to do so. So anyone have idea about importing and exporting registry key from Registry. And one more thing i have to complete my project on time, so help me with you solution as soon as possible. Waiting for the answer.

Thank you.
Reply With Quote
  #2  
Old 04-01-2010
Reegan's Avatar
Member
 
Join Date: Oct 2005
Posts: 2,299
Re: Import registry key with programming

You can import the whole registry or just a key from the registry manually and then add it to your project. To manually fetch a key or whole registry. Open the registry editor and then Click on File and select Import Registry option. It will ask for a location to save. Select the location you want and click on Save. If you want to import only a key, then from Registry editor open the key you want to import and then select import key from the file menu.
Reply With Quote
  #3  
Old 04-01-2010
Bon-Z's Avatar
Member
 
Join Date: Jan 2006
Posts: 4,398
Re: Import registry key with programming

Hey, There is a function which will help you for the same. Use the RegSaveKey and RegRestoreKey. These function will get the key of the registry from the computer. Also you need to use the function SeBackupPrivilege and SeRestorePrivilege for these APIs. This is only allowed for the Administraotr. Thank you
__________________
In The Absence Of Light
Darkness Prevail's
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Import registry key with programming"
Thread Thread Starter Forum Replies Last Post
Stop:c0000218{Registry File Failure}registry cannot load the hive Rex Windows XP Support 5 1 Week Ago 12:05 AM
How to import registry string value from *.csv file or ini file Aalap Operating Systems 7 02-06-2011 11:06 PM
Socket programming: Is any new Programming Language? Kushan Software Development 3 14-11-2009 11:13 AM
Import or Export Registry Before Editing Erskine Tips & Tweaks 0 16-02-2009 11:51 PM
JetBrains Introduces a New Programming Paradigm With its Meta Programming System JoeFrat Software Development 3 13-12-2008 01:49 PM


All times are GMT +5.5. The time now is 12:08 PM.