Rick Stanich
King and Supreme Ruler
- Local time
- Today, 12:41
- Joined
- May 13, 2009
- Messages
- 93
(Solved) Using the Registry. How to know if Key exists?
This is a sample structure.
Writing to and reading from the registry is easy to do, determining if a "AppName" or "Key" exists is not so easy.
In this case the string "HKEY_CURRENT_USER\Software\VB and VBA Program Settings" will always be the same, its the standard naming thru VBA.
How can I find out if a specific Key exists in "HKEY_CURRENT_USER\Software\VB and VBA Program Settings"?
FYI
There is an example for "IsBroken" but it appears to be for file association only.
This is a sample structure.
The text in orange is the AppName, the text in violet is the Key.HKEY_CURRENT_USER\Software\VB and VBA Program Settings\GeoMeasure\CMM Data\
Writing to and reading from the registry is easy to do, determining if a "AppName" or "Key" exists is not so easy.
In this case the string "HKEY_CURRENT_USER\Software\VB and VBA Program Settings" will always be the same, its the standard naming thru VBA.
How can I find out if a specific Key exists in "HKEY_CURRENT_USER\Software\VB and VBA Program Settings"?
FYI
There is an example for "IsBroken" but it appears to be for file association only.
Last edited: