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 6018765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:19:19+00:00 2026-05-23T03:19:19+00:00

I am developing a windows application in .NET framework, using C#. At the time

  • 0

I am developing a windows application in .NET framework, using C#. At the time of application installation I want to write into the registry a certain value. So I have two questions regarding this :

  1. How can I execute a code for creating a registry entry at time of installation or there is some settings in the framework which allows us to do so ?

  2. I don’t want to create a new node in the registry, can I use some common place anywhere, in the registry or an existing node where I can store my value without affecting the local system settings ?

Please help me out.

Thanks,

Bibhu

  • 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-05-23T03:19:20+00:00Added an answer on May 23, 2026 at 3:19 am

    You can use the Microsoft.Win32.Registry class to read or write to the Windows registry.

    http://msdn.microsoft.com/en-us/library/microsoft.win32.registry.aspx

    It’s considered bad form to just drop data values into existing registry keys. You should create a key path identified by your company and/or application name and put your registry stuff there. This is a courtesy to the end user who may want to remove all your application cruft after they remove your application from their system.

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

Sidebar

Related Questions

I am developing a Windows Application using the .net Framework 2.0 and Visual C#(Microsoft
I'm developing a Windows Mobile 5.0 and above application using .Net Compact Framework 2.0
I'm developing a Windows Mobile 5.0 or above WinForm application using .NET Compact Framework
We developing an Application using .NET Framework 4.0 (C#) windows forms based application. Now,
I developing ASP.NET application using a Swedish version of Windows XP and Visual studio
I'm developing an application for Windows Mobile Devices using Visual Studio .NET 2008 whose
I'm Developing a small windows application in C#.net in Visual Studio 2010 with framework
I am developing WPF windows application using VS 2008 and .NET 3.5. I am
I am developing an Windows phone7 application, I have a .NET webservice that returns
We are developing C#.Net 4.0 Windows form based application using Microsoft.Office.Interop.Word reference. Now I

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.