RegOp Quick Tip

Windows Registry etiquette requires that we create a publisher subkey to store all of our program's settings.  

In my article yesterday, I published 64-bit API declarations for Romke Soldaat's RegOp class.  

Another modification I made to that class was to add a convenience function that provides for consistent usage of a dedicated publisher key along with the name of the current Access application.

Note: App.PgmName is a property of my clsApp singleton class

'---------------------------------------------------------------------------------------
' Procedure : KeyXY
' Purpose   : Convenience wrapper to standardize storage of XY, Inc. program/user settings.
'---------------------------------------------------------------------------------------
'
Property Let KeyXY(strProp)
    Key = "Software\Xanadu Yurts, Inc.\" & App.PgmName & "\" & strProp
End Property

Background image by Free-Photos from Pixabay