AnsweredAssumed Answered

VB.Net - Get a list of "keys" from the registry

Question asked by Darren Smith on Feb 27, 2019
Latest reply on Feb 27, 2019 by Markku Lehtola

Can anybody help?

 

I am trying to find the vault computer name from the registry.

 

I have attached a screenshot of the registry (for test only).

 

I need to display in a msgbox each computer name ringed in red.

 

I have the following code that does not work, any suggestions??

 

 

Dim instance As RegistryKey = Registry.CurrentUser.OpenSubKey("SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\ArchiveServer\Vaults")

 

For Each s As String In instance.GetSubKeyNames()

 

Next

 

 

Does anybody know how to do this using VB.net?

 

Many thanks in advance!!!!

 

Darren

Attachments

Outcomes