Insert .reg files into Registry

  • Thread starter Thread starter Kosmas Nikolaidis
  • Start date Start date
K

Kosmas Nikolaidis

I need VB.NET source code to help me insert .reg files into registry.

Any help would be appreciated.

Thanks
 
Two easy approaches might be:

1) Use the Microsoft.Win32.Registry class in mscorlib and create the entries
yourself.

2) Use System.Diagnostics.Process.Start(String) to call regedit.exe with the
..reg file as a command line argument.

Not sure if there is a .reg file parser available for VB.net?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top