Problem with Registry class

TechnoTone

Well-known member
Joined
Jan 20, 2003
Messages
224
Location
UK - London
I am unable to get at the properties of the Registry class. I have Microsoft.Win32 imported and when I prepare an object declaration I see Registry in the popup list but when I press "." after selecting "Registry" nothing happens. If I type "CurrentUser" manually the editor underlines it stating "Type Registry.CurrentUser is not defined."

How can this be wrong???

Code:
Dim regCurrUser As [u]Registry.CurrentUser[/u]
Ive even tried:

Code:
Dim regCurrUser As [u]Microsoft.Win32.Registry.CurrentUser[/u]
but it still wont work. Any ideas?
 
Back
Top