1、参考
http://www.cnblogs.com/txw1958/archive/2012/08/01/csharp-regidit.html
c#转vb.net
http://converter.telerik.com/
2、写代码运行office.reg不就好了?
shell("regedit """ & ApplicationPath & "Office.reg""", 1)
'shell("regedit /s """ & ApplicationPath & "Office.reg""", 0)