One liner:
ShellExecute("rundll32.exe", "keymgr.dll,KRShowKeyMgr", "", @NORMAL, "")
Of course, you can also use "Control Userpasswords2."
Start->Run, then type "Control Userpasswords2" sans double quotes.
After that, click the "Advanced" tab and then click "Manage Passwords".
Quote from: td on July 17, 2025, 07:07:23 AMOf course, you can also use "Control Userpasswords2."
Start->Run, then type "Control Userpasswords2" sans double quotes.
After that, click the "Advanced" tab and then click "Manage Passwords".
I'm spoiled with mine<grin>
Yup, it is a little less "clicky" than
ShellExecute("control", "Userpasswords2", "", @NORMAL, "")
My only very minor nit is that the KRShowKeyMgr dialog box appears unappealing on high-DPI monitors. Apparently, MSFT never bothered to update it.
Quote from: td on July 17, 2025, 09:23:37 AMMy only very minor nit is that the KRShowKeyMgr dialog box appears unappealing on high-DPI monitors.
Unappealing or not. It still has buttons to store/retrieve creds.
I did mention that my comment was a minor point. You can also add and view credentials using the "Userpasswords2" UI. Since it is the "new and improved" implementation, it takes more mouse clicks to accomplish the task.
In any case, you can't view any passwords. For my use, I plan to cook a WIL dialog that emulates your dialog with the addition of the ability to view passwords. Perhaps it will make it into the Tech Database at some point. I need to free myself from the clutches of the Medical Industrial Complex first.
Quote from: td on July 20, 2025, 07:32:39 AMPerhaps it will make it into the Tech Database at some point. I need to free myself from the clutches of the Medical Industrial Complex first.
Best luck with that. One could develop an entire board section just for credentials. My last pass with them was developing secure string xml used with WinSCP script for web content.