> ## Content Index
> Fetch the complete content index at: https://nolongerset.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# RegOp Quick Tip
- URL: https://nolongerset.com/regop-quick-tip/
- Published: 2021-02-18T22:42:34.000Z
- Updated: 2026-05-08T13:06:17.000Z
- Description: Be respectful of your user's registry. Store all your applications' settings in a dedicated publisher subkey.
- Author: Mike Wolfe
- Tags: Code Library, #clsRegOp, Quick Tip, #Import 2026-05-20 02:59

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

In my [article](https://nolongerset.com/regop-class-for-64-bit-vba/) yesterday, I published 64-bit API declarations for Romke Soldaat's [RegOp class](https://docs.microsoft.com/en-us/previous-versions/office/developer/office2000/aa155731%28v=office.10%29?redirectedfrom=MSDN). 

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](https://nolongerset.com/environmentally-friendly-access/) singleton class*

```vba
'---------------------------------------------------------------------------------------
' 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](https://pixabay.com/photos/?utm%5Fsource=link-attribution&utm%5Fmedium=referral&utm%5Fcampaign=image&utm%5Fcontent=1246043) from [Pixabay](https://pixabay.com/?utm%5Fsource=link-attribution&utm%5Fmedium=referral&utm%5Fcampaign=image&utm%5Fcontent=1246043)*