Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: namespace_sampler


Message #1 by "Thomas H. Tidrick" <ttidrick@b...> on Wed, 14 Nov 2001 02:33:09
> 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

  Return to Index