> Isn't there a vb.net list?
> Try changing yours /'s into \'s
>
> m.
>
> -----Original Message-----
> From: Thomas H. Tidrick [mailto:ttidrick@b...]
> Sent: Tuesday, November 13, 2001 6:33 PM
> To: professional vb
> Subject: [pro_vb] namespace_sampler
>
>
> Greetings,
>
> I am on W2KS running vs.net beta 2, without SP's.
>
> In Pro vb.net, ch7, p180; the following code fails on my machine:
>
> Dim objRegKey As RegistryKey
>
> objRegKey = Registry.LocalMachine.OpenSubKey( _
> "SOFTWARE/Microsoft/.NETFramework", True)
>
> That is, after the debugger steps thru this line of code, objRegKey is
> still equal to nothing. The prog compiles and runs with no error to
this
> point. And inspection with regedit shows the subkey does exist.
>
> Does the OpenSubKey method not work without some SP or something?
>
> Any ideas?
>
> Thanks,
>
> Ty
Thanks m,
No wonder I couldn't see it; it was right in front of me.
Ty