Rename Registry Key in VB?
Results 1 to 3 of 3

Thread: Rename Registry Key in VB?

  1. #1
    Senior Member
    Join Date
    Jan 2003

    Rename Registry Key in VB?

    Anyone know how to rename a registry key in visual basic through API besides saving the whole key to a file then restoring it uvder a different name?
    [gloworange]And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict\'s veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found. \"This is it... this is where I belong...\" I know everyone here... even if I\'ve never met them, never talked to them, may never hear from them again... I know you all...[/gloworange]

  2. #2
    Senior Member
    Join Date
    Nov 2001
    You certainly don't have to save the key to file. Just read the value of the old key, delete the key, create a new key and store the value from the old key in the new key. I might be missing the point here, why would you want to save anything to file?

    By the way, here is a link to the win32api registry functions (MSDN):

  3. #3
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    953 has a huge resource of API implementations...
    quite a few on editing the Registry...
    yeah, I\'m gonna need that by friday...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts