0
我有创建注册表项的问题...在vb.net 2010创建注册表项“的NullReferenceException是未处理的”
这是我的代码:
Dim KeyName As String = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run"
Dim Value As String = Application.ExecutablePath
My.Computer.Registry.CurrentUser.OpenSubKey(KeyName, True).SetValue(Application.ProductName, Value)
这是我的问题:
一些帮助,请。
哦,是的,我错过了,谢谢:) [Blackwood](http://stackoverflow.com/users/4424957/blackwood) –