VBA version 6.4 register VBA into registry by HKEY_LOCAL_MACHINE\Software\Classes, why?

0 votes
asked by about Microsoft Visual Basic for Applications SDK
edited by

Why VBA version 6.4 register VBA into registry by HKEYLOCALMACHINE\Software\Classes
While VBA version 6.5 register VBA into registry by HKEYCURRENTUSER\Software\Classes?

1 Answer

0 votes
No avatar answered by (94.6k points)

This is because VBA version 6.4 was designed to be used by multiple users on the same machine, hence it was registered in the HKEYLOCALMACHINE registry. Whereas, VBA version 6.5 was designed to be used by a single user only, hence it was registered in the HKEYCURRENTUSER registry. This allowed for greater security and prevented other users on the same machine from potentially accessing or modifying the VBA settings.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...