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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:16:41+00:00 2026-05-31T06:16:41+00:00

I am trying to work for an application where i need to embed registry

  • 0

I am trying to work for an application where i need to embed registry code in my program. Basically this is a Windows App.

My registry code is

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell]
"icon"=""
"Position"="Bottom"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell]
@="system.exe -L"

This code is stored in a registry file. All i need to do is invoke this script on an event handler say button_click.

Options i have is write this code as a string and execute this string.. or simply have a collection of *.reg files which i may execute on button_click.

I understand my app requires UAC, and i would be giving that permission for my app in App Manifest.

Can anyone pls suggest me how to execute registry file (.reg) stored placed in a folder

  • 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-31T06:16:42+00:00Added an answer on May 31, 2026 at 6:16 am

    Use Process.Start with a ProcessStart.UseShellExecute = True

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

Sidebar

Related Questions

I'm trying to get a CakePHP application to work. For this, I've set up
I have this existing code does not work as I am trying to get
I'm trying to embed a browser control in my application (IWebBrowser2). I need to
Weve recently been trying to work on an application that uses pandastream to encode
i'm trying to work out the best method to perform logging in the application
I am trying to build an Eclipse application that would work with a linux/motif
I've been trying to write a small application which will work with mysql in
Alright, I'm trying to get arguments to work properly with a small test application.
I am going to be developing an application for work, and I am trying
I am trying to work out what I need to change in the following

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.