Thanks guys.
Since HotKeysEdit is a VB6 app, I used GetModuleFileName to figure out where I was running from. I actually tried to use Command$, but apparently that is only valid inside sub main.
I am aware of one other minor registry-related issue, but since nobody has ever mentioned it as a bug, I'm pretending it doesn't exist.
On a somewhat unrelated issue that may interest Glenn and Kerry, and perhaps a few others, acedGetVar and its managed equivalent both return a value of 1 for the CMDACTIVE system variable regardless of whether a modal dialog is active. Don't you just love when the implementation disagrees with the documentation? :-p