Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. change "registry value's" type by c# ? [modified]

change "registry value's" type by c# ? [modified]

Scheduled Pinned Locked Moved C#
csharpwindows-adminjsonhelpquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jamesband007
    wrote on last edited by
    #1

    one program with "advanced regedit" (regedit33)name, can change value's type. exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.exe source and exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.rar registrykey.getvalue() method does not supprt REG_NONE values and I have an REG_NONE value and I can change this value type to REG_DWORD in this program . I'm looking for a way to read REG_NONE types or read them as REG_DWORD or change type of REG_NONE to REG_DWORD and read value in C#. some body says perform with API or P/invoke but HOW? Please, Somebody help me!

    modified on Monday, June 29, 2009 2:25 PM

    M L 2 Replies Last reply
    0
    • J jamesband007

      one program with "advanced regedit" (regedit33)name, can change value's type. exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.exe source and exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.rar registrykey.getvalue() method does not supprt REG_NONE values and I have an REG_NONE value and I can change this value type to REG_DWORD in this program . I'm looking for a way to read REG_NONE types or read them as REG_DWORD or change type of REG_NONE to REG_DWORD and read value in C#. some body says perform with API or P/invoke but HOW? Please, Somebody help me!

      modified on Monday, June 29, 2009 2:25 PM

      M Offline
      M Offline
      michaelvdnest
      wrote on last edited by
      #2

      Maybe http://www.pinvoke.net/default.aspx/advapi32/RegOpenKeyEx.html[^] helps.

      1 Reply Last reply
      0
      • J jamesband007

        one program with "advanced regedit" (regedit33)name, can change value's type. exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.exe source and exe : http://garr.dl.sourceforge.net/sourceforge/regedt33/regedt33.rar registrykey.getvalue() method does not supprt REG_NONE values and I have an REG_NONE value and I can change this value type to REG_DWORD in this program . I'm looking for a way to read REG_NONE types or read them as REG_DWORD or change type of REG_NONE to REG_DWORD and read value in C#. some body says perform with API or P/invoke but HOW? Please, Somebody help me!

        modified on Monday, June 29, 2009 2:25 PM

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        jamesband007 wrote:

        some body says perform with API or P/invoke

        That someone was Luc[^]. Have you made any progress since your last answer? Look here[^] for the information on the API itself. Search Google for P/Invoke example's to import the function. In theory, an empty key would simply result in a null-value. Is there any special requirement to distinguish between empty keys and a key with no datatype?

        I are troll :)

        L 1 Reply Last reply
        0
        • L Lost User

          jamesband007 wrote:

          some body says perform with API or P/invoke

          That someone was Luc[^]. Have you made any progress since your last answer? Look here[^] for the information on the API itself. Search Google for P/Invoke example's to import the function. In theory, an empty key would simply result in a null-value. Is there any special requirement to distinguish between empty keys and a key with no datatype?

          I are troll :)

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          I approve. Sorry for being late to the party. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


          L 1 Reply Last reply
          0
          • L Luc Pattyn

            I approve. Sorry for being late to the party. :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            :-D

            I are almost learnin' :)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups