A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » Installation & Setup
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Problems in loading Outlook Add-in as a normal user



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2009, 07:56 AM posted to microsoft.public.outlook.installation
paresh
external usenet poster
 
Posts: 11
Default Problems in loading Outlook Add-in as a normal user

Hi,

I have created Outlook COM Add-in successfully but I am facing problems in
loading this Add-in as a normal user in Outlook. If I put normal(non-admin)
account into Administrators group then everything works fine and registered
Add-in, automatically gets added to COM Add-in list and start working as
expected. but if I remove myself from Administrator group then Add-in is not
getting added in to COM Add-in list automatically and even I am not able to
add it manually from "tools-options-other-Advanced Option-COM Add-ins".

The more thing is, when I registered Add-in as an administrator, it displays
add-in in reference list but don't load and create button on outlook tool
bar. This everything works fine if I add non-admin account in the
Administrators group.

Also when I try to create Add-in dll from VB6 File-make dll as normal user,
it says "Error in accessing system registry". It also not allows me to run
the Add-in by clicking Run button with "Permission denied" message.

I think this is the only problem. I am not able to create Add-in as a normal
user and hence it is not allowing me to add COM-in or register COM Add-in as
normal user.

Any help would be much appreciated.

Thanks a ton,
Paresh
  #2  
Old March 23rd, 2009, 10:44 AM posted to microsoft.public.outlook.installation
Roady [MVP]
external usenet poster
 
Posts: 23,553
Default Problems in loading Outlook Add-in as a normal user

As you've created it yourself, it is hard to tell what you are doing wrong
without knowing any specifics about what you are doing.
Other than saying that you are probably writing or reading something from
restricted areas, it is hard to be any more specific.

You'd be off-topic for this newsgroup either way. Try asking with the
developers down the hall in outlook.program_addins

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

"paresh" wrote in message
...
Hi,

I have created Outlook COM Add-in successfully but I am facing problems in
loading this Add-in as a normal user in Outlook. If I put
normal(non-admin)
account into Administrators group then everything works fine and
registered
Add-in, automatically gets added to COM Add-in list and start working as
expected. but if I remove myself from Administrator group then Add-in is
not
getting added in to COM Add-in list automatically and even I am not able
to
add it manually from "tools-options-other-Advanced Option-COM
Add-ins".

The more thing is, when I registered Add-in as an administrator, it
displays
add-in in reference list but don't load and create button on outlook tool
bar. This everything works fine if I add non-admin account in the
Administrators group.

Also when I try to create Add-in dll from VB6 File-make dll as normal
user,
it says "Error in accessing system registry". It also not allows me to run
the Add-in by clicking Run button with "Permission denied" message.

I think this is the only problem. I am not able to create Add-in as a
normal
user and hence it is not allowing me to add COM-in or register COM Add-in
as
normal user.

Any help would be much appreciated.

Thanks a ton,
Paresh


  #3  
Old March 23rd, 2009, 02:58 PM posted to microsoft.public.outlook.installation
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 368
Default Problems in loading Outlook Add-in as a normal user

You cannot just run an addin DLL, it must be loaded by Outlook either when
Outlook starts or on demand.

If an addin is registered in HKCU it's registered for only that one user. If
an admin logon was used for registering in HKCU the addin will only be
available for that logon. If registered in HKLM it will be available for all
users on that computer.

Depending on the version of Windows and user permissions, a user may or may
not be able to run an installer that uses HKLM.

If an addin is registered in HKLM it won't show up at all in the COM Add-Ins
dialog in Outlook 2003, it will in 2007 but its status can't be changed
unless the Outlook user is running under an admin logon. Addins registered
under HKLM are considered as administrative installations, not to be messed
with by users.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"paresh" wrote in message
...
Hi,

I have created Outlook COM Add-in successfully but I am facing problems in
loading this Add-in as a normal user in Outlook. If I put
normal(non-admin)
account into Administrators group then everything works fine and
registered
Add-in, automatically gets added to COM Add-in list and start working as
expected. but if I remove myself from Administrator group then Add-in is
not
getting added in to COM Add-in list automatically and even I am not able
to
add it manually from "tools-options-other-Advanced Option-COM
Add-ins".

The more thing is, when I registered Add-in as an administrator, it
displays
add-in in reference list but don't load and create button on outlook tool
bar. This everything works fine if I add non-admin account in the
Administrators group.

Also when I try to create Add-in dll from VB6 File-make dll as normal
user,
it says "Error in accessing system registry". It also not allows me to run
the Add-in by clicking Run button with "Permission denied" message.

I think this is the only problem. I am not able to create Add-in as a
normal
user and hence it is not allowing me to add COM-in or register COM Add-in
as
normal user.

Any help would be much appreciated.

Thanks a ton,
Paresh


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.