CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    8

    Code works in one case, but not in a similar case (registry editing). Help?

    I'm trying to simply copy a registry key using the pre-built code here: http://www.codeproject.com/Articles/...y-Keys#_rating (note: the actual code is from the forum reply "Re: problem" by fallafab".

    edit: the code is visible in the pictures below. I didn't realize this forum doesn't display IMG tags.

    When I say that I want to copy ".nip" to ".nip_bak", the destination key is set properly:



    However, when I want to copy "nip_auto_file" to "nip_auto_file_bak", the destination key is set to null:



    Both registry entries already exist. What can possibly be causing this problem?

    edit: I'm using .NET 4.0
    Last edited by Danja; August 8th, 2012 at 11:58 AM.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured