You can use "Microsoft.Win32.Registry" or "My.Computer.Registry" and
their methods to achieve getting/setting registry values but as i know
they doesn't provide functions that are meant to export registry
to .reg file directly.
In this case, you can run regedit (registry editor) using "Shell" with
parameters as if it's invoked from command-line.
Look at this:
http://uekb.shavlik.com/UpdateEXPER...group/microsoft.public.de.vb/msg/1313da298143...
Hope this helps,
Onur Güzel