Karim
Posts: 170
Joined: 2006-01-02
|
|
Dmitry Kostochko
Add-in Express team
Posts: 2875
Joined: 2004-04-05
|
Hi Karim,
Based on your description of the problem I can assume that somebody (your users?) or something (another add-in?) removes your command bar controls from your Word toolbar. The point is that non-temporary controls are added by the Add-in Express code just once - at the first start of MS Word and then our code just connects to the added controls but does not add them anew. So, I would suggest that you try using the temporary command bar and controls (Temporary := True). In this case our code will try to add your command bar and controls on each start of MS Word and I think this will solve the problem. |
|
Karim
Posts: 170
Joined: 2006-01-02
|
Hi Dmitry,
Ok, I going to try this solution.
But i don't understand why if i remove my plugin under citrix
in administrateur user my plug disapear correctly under excel and word.
but when i connect in user citrix my plug not disapear under excel and word.
the buttons appear but when I click it nothing happens.
I think the problem appeared when I started to use the property for "temporary:=true"
I gave the property to false but still the same result.
Can you help me and explain why the buttons remains persistent
and how I saw that the uninstall button disappeared by doing a manual uninstall
but i have hundreds of users.
I have another module for outlook not encountered problem.
Plug is registre for all user (RegisterForAllUsers := true)
and for remove i use command regsrv32 /u
Karim
Thanks
Configuration
Citrix under Server 2003
Office 2003
Delphi 2010 + Version 6.3 Release (build 757) |
|
Dmitry Kostochko
Add-in Express team
Posts: 2875
Joined: 2004-04-05
|
Hi Karim,
I think this happens because you use non-temporary command bar controls in your Word and Excel add-ins. As I mentioned earlier all non-temporary controls are added by the Add-in Express code just once, at the first start of a host application (Word, Excel, etc.). On all subsequent starts of a host application, it adds your command bar controls itself because they were added as permanent (non-temporary) controls. Please note, this scenario works for each of your terminal server users.
When you unregister your add-in using an administrative account, the Add-in Express code starts a host application via OLE automation and removes non-temporary controls. Please note, this scenario works just for the user who unregisters/uninstalls your add-in. All other users will still have the modified command bars.
As to your Outlook add-in, it seems you use temporary command bars there. Am I right? |
|
Karim
Posts: 170
Joined: 2006-01-02
|
Hi Dmitry,
You're right on all points.
Thank you very much for your very clear explanation.
Karim |
|