| Author: Patel Akhilkumar Punambhai 24 Aug 2004 | Member Level: Bronze Points : 0 |
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30451: Name 'RegistryKey' is not declared.
Source Error:
Line 11: txtvalue.visible="true" Line 12: Line 13: RegistryKey rstryKey = Registry.LocalMachine; Line 14: RegistryKey rgstryKeyValues = rstryKey.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion"); Line 15:
|
| Author: R. Hari Hara Madavan 11 Oct 2004 | Member Level: Bronze Points : 0 |
Hi,
Please Import Microsoft.Win32 namespace for the above code to work.
VB.NET:
Imports Microsoft.Win32
C#:
using Microsoft.Win32;
|