Solved

Registry Entry

Posted on 1998-07-09
1
175 Views
Last Modified: 2010-04-01
I am trying to update the Windows 95/NT registry using the *.REG files from a program.
I was thinking regedit.exe would be easier to call from a CreateProcess with the registry file name. Unfortunately regedit displayed a dialog box at the end of each update.
Is there a command line option which prevents regedit not to display the dialog box. If not, are there are specific API's in windows which can read the REG file and write it to the registry
0
Comment
Question by:rian
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
ID: 1167484
Regedit can be launched with /s silent command line.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question