Check for registry value

  • Thread starter Thread starter Yet Another One
  • Start date Start date
Y

Yet Another One

Hi everyone.

Sorry if this is the wrong group for this question, but since it
is .NET and VB, I thought someone may be able to help me here or point
me to the right group for this.

I am working on an application which needs to check if a certain VALUE
exists in a registry subkey. Is there an easy way to do this? So far,
my googles have come up empty on this, though they DO have a plethora
of information on checking if a KEY exists.

Any help on this is much appreciated.

Thank you,
Ryan
 
Hi everyone.

Sorry if this is the wrong group for this question, but since it
is .NET and VB, I thought someone may be able to help me here or point
me to the right group for this.

I am working on an application which needs to check if a certain VALUE
exists in a registry subkey. Is there an easy way to do this? So far,
my googles have come up empty on this, though they DO have a plethora
of information on checking if a KEY exists.

Any help on this is much appreciated.

Thank you,
Ryan

Check out the function Microsoft.Win32.Registry.GetValue(keyName,
valueName, defaultValue)

Thanks,

Seth Rowe
 
Back
Top