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?
 
Back
Top