Results 1 to 3 of 3

Thread: Import registry key with programming

  1. #1
    Join Date
    Nov 2009

    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.

  2. #2
    Join Date
    Oct 2005

    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.

  3. #3
    Join Date
    Jan 2006

    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

Similar Threads

  1. Replies: 7
    Last Post: 02-06-2011, 10:06 PM
  2. Socket programming: Is any new Programming Language?
    By Kushan in forum Software Development
    Replies: 3
    Last Post: 14-11-2009, 11:13 AM
  3. Import or Export Registry Before Editing
    By Erskine in forum Tips & Tweaks
    Replies: 0
    Last Post: 16-02-2009, 11:51 PM
  4. Replies: 3
    Last Post: 13-12-2008, 01:49 PM
  5. Replies: 3
    Last Post: 18-07-2008, 12:09 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,642,793,871.26364 seconds with 17 queries