N
Nando
Hi all!! I'm creating a very simple Access add-in. I have created the MDA
file. I installed the add-in browsing through the Access->Tools->Add-In
Manager. After installing the add-in everything works great. However, when I
switched to use another user profile in my computer (WindowsXP: Start->Log
Off), I could not use the add-in. The menu link is there, but when clicking
on it says "Microsoft Access can't find the wizard, or the wizard has not
been installed, or there is a syntax error....."
This happened under Access XP. I have researched and discovered that the
"Library" key under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\Access\Menu Add-Ins"
points to the MDA path where the add-in was originally installed. Actually
Access seemed to have it copied onto my user profile path. I see the path
as:
"C:\Documents and Settings\Nando\Application
Data\Microsoft\AddIns\MyAddIn.MDA" That explains why I'm getting an error
when trying to call the add-in from another user profile (Cindy instead of
Nando).
I tried to work around this unreasonable Access behavior with different
tricks:
1. One was to manually create the add-in's registry keys myself, but under
the HKEY_CURRENT_USER instead of the Access default's HKEY_LOCAL_MACHINE.
However, Access always ignored this.
2. The second thing I tried was to edit the "Library" key and change it from
"C:\Documents and Settings\Nando\Application
Data\Microsoft\AddIns\MyAddIn.MDA" to "%USERPROFILE%\Application
Data\Microsoft\AddIns\MyAddIn.MDA" but this didn't work either as Access
does not perform the translation of the environmental variable.
I give up! So Access add-ins do not work on multi-user environments? That's
a shame! Unless I'm doing something wrong (and I hope I am). I'm using
Access XP under Windows XP SP2.
Any replies will be appreciated. Thanks!
-Nando
file. I installed the add-in browsing through the Access->Tools->Add-In
Manager. After installing the add-in everything works great. However, when I
switched to use another user profile in my computer (WindowsXP: Start->Log
Off), I could not use the add-in. The menu link is there, but when clicking
on it says "Microsoft Access can't find the wizard, or the wizard has not
been installed, or there is a syntax error....."
This happened under Access XP. I have researched and discovered that the
"Library" key under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\Access\Menu Add-Ins"
points to the MDA path where the add-in was originally installed. Actually
Access seemed to have it copied onto my user profile path. I see the path
as:
"C:\Documents and Settings\Nando\Application
Data\Microsoft\AddIns\MyAddIn.MDA" That explains why I'm getting an error
when trying to call the add-in from another user profile (Cindy instead of
Nando).
I tried to work around this unreasonable Access behavior with different
tricks:
1. One was to manually create the add-in's registry keys myself, but under
the HKEY_CURRENT_USER instead of the Access default's HKEY_LOCAL_MACHINE.
However, Access always ignored this.
2. The second thing I tried was to edit the "Library" key and change it from
"C:\Documents and Settings\Nando\Application
Data\Microsoft\AddIns\MyAddIn.MDA" to "%USERPROFILE%\Application
Data\Microsoft\AddIns\MyAddIn.MDA" but this didn't work either as Access
does not perform the translation of the environmental variable.
I give up! So Access add-ins do not work on multi-user environments? That's
a shame! Unless I'm doing something wrong (and I hope I am). I'm using
Access XP under Windows XP SP2.
Any replies will be appreciated. Thanks!
-Nando