TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anthony
NA
4
0
Adding Registry Key on PPC2003
Aug 24 2006 5:46 AM
Hi
I wonder if someone her can give me any advice on the following. I am trying to create a form in c# for ppc2003 (in visual studio 2005) that will add/edit a registry key when a button is pressed.
So far i've tried running a .reg file into the registry but with no joy. I am doing something like:
Process.Start("
\\My Documets\\new.reg
");
Yet this will give me a popup box asking if i want to add the new registry details (yes or no)
I'm guessing i need some arguments to that which will automatically say "yes" for example:
Process.Start("
\\My Documets\\new.reg
". "1");
But i can't find the correct arg to do this.
My second thought is not to use a registry file at all but actually run the changes to the registry using c# but i can't figure out how iwould go about this so i'd prefer to use the first method.
Any help is much appreciated
Ant
Reply
Answers (
1
)
Need some file parsing tips!!
Getting started with C# and RPC connecting to a server running Apache2/PHP5