Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8773683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:21:51+00:00 2026-06-13T18:21:51+00:00

Been googling but I cant find out how to create a registry key itself,

  • 0

Been googling but I cant find out how to create a registry key itself, not a subkey string value as is seen in all the tutorials. The registry is like a tree with branches and leaves, I want to create a new branch and add a leaf

|tree
|-branch
|  |-my branch
|-branch

Thanks for any help

More info to make it clearer as i’m being pointed to what I dont need 😉

you click on one of the registry keys, next to it is an arrow pointing down, you click it and you get more keys maybe with another arrow pointing down for more ketys, well thats what I’m trying to create a “folder” looking thing. I’m not sure how else I can explain but CreateSubKey does nothing like that for me:

Key = Registry.CurrentUser.CreateSubKey("SOFTWARE\Microsof\game\addons\myaddons");

Now, when I check it there is no folder-like icon named myaddons

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:21:52+00:00Added an answer on June 13, 2026 at 6:21 pm

    Not sure if this is what you are trying to do, but you may use Registry.SetValue(string keyName, string valueName, object value, RegistryValueKind valuekind) to create Keys/Subkeys and its values.

    Example

    Registry.SetValue(@"HKEY_CURRENT_USER\Software\Picrofo Software\", "", ""); //Tree
    Registry.SetValue(@"HKEY_CURRENT_USER\Software\Picrofo Software\Subkey", "", ""); //Branch
    Registry.SetValue(@"HKEY_CURRENT_USER\Software\Picrofo Software\Subkey", "Value Name", "Value", RegistryValueKind.String); //Branch's value
    Registry.SetValue(@"HKEY_CURRENT_USER\Software\Picrofo Software\Another Subkey", "", ""); //Branch
    

    This will create a key in HKEY_CURRENT_USER\Software\ with the name Picrofo Software. Then, creates a subkey in the key we’ve created with the name Subkey and sets a value of name Value Name and its value Value of type String. Finally, creates another subkey in Picrofo Software with the name Another Subkey which has no specific value.

    Example

    Thanks,

    I hope you find this helpful 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ive been googling mutex tutorials / examples but cant seem to find one for
Been googling all morning but can't find an answer. The official documentation does not
I've been googling all night for postfix howto's, but still I couldn't figure out
I've been googling around and trying to find out what is the behaviour of
I have been googling a lot about this, but I can't find a specific
I've been googling around for a bit but I can't seem to find an
Been browsing the questions and Googling it but I can't seem to find a
I've been googling this for some time now, but I could never find an
I have a problem which i've been googling but can't find the answer to.
I've been googling this for hours but can't find what I'm after. I do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.