|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Toolbar still appear on uninstallHi,
I created an AddIn which create a toolbar in Outlook. When i uninstall it, the toolbar still appears (doing nothing). I checked to see that the addin file was deleted on uninstall and it was. It seems that Outlook still save the toolbar info somewhere inside him Where does it save the toolbar info? How can cause it not to save it outside of my Addin? Thanks Hi,
do you talk about OL 2000? It´s buggy and you should always create your toolbars temporarily only. Not sure, I suppose, the commandbar info is stored in the outcmd.dat file. You can delete this file (after a backup, of course), and OL will re-create it by the next start. -- Show quoteHide quoteViele Grüße Michael Bauer "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message news:13BE29CB-2B77-4DB2-9046-9858EC8AAC14@microsoft.com... > Hi, > > I created an AddIn which create a toolbar in Outlook. > When i uninstall it, the toolbar still appears (doing nothing). > I checked to see that the addin file was deleted on uninstall and it was. > It seems that Outlook still save the toolbar info somewhere inside him > > Where does it save the toolbar info? > How can cause it not to save it outside of my Addin? > > Thanks Thanks,
What do u mean by temporary toolbar? to remove it on Disconnect? I tried to do so but the objects are not valid at this event. Show quoteHide quote "Michael Bauer" wrote: > Hi, > > do you talk about OL 2000? It´s buggy and you should always create your > toolbars temporarily only. > > Not sure, I suppose, the commandbar info is stored in the outcmd.dat > file. You can delete this file (after a backup, of course), and OL will > re-create it by the next start. > > -- > Viele Grüße > Michael Bauer > > > "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message > news:13BE29CB-2B77-4DB2-9046-9858EC8AAC14@microsoft.com... > > Hi, > > > > I created an AddIn which create a toolbar in Outlook. > > When i uninstall it, the toolbar still appears (doing nothing). > > I checked to see that the addin file was deleted on uninstall and it > was. > > It seems that Outlook still save the toolbar info somewhere inside him > > > > Where does it save the toolbar info? > > How can cause it not to save it outside of my Addin? > > > > Thanks > > No, I mean *create* temporarily. CommandBars.Add and
CommandBarControls.Add have an optional argument called temporary. You should set this value to true. -- Show quoteHide quoteViele Grüße Michael Bauer "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message news:4FC3B7B8-1F32-4DC0-93AD-9577D4A15A3C@microsoft.com... > Thanks, > > What do u mean by temporary toolbar? to remove it on Disconnect? I tried to > do so but the objects are not valid at this event. > > > "Michael Bauer" wrote: > > > Hi, > > > > do you talk about OL 2000? It´s buggy and you should always create your > > toolbars temporarily only. > > > > Not sure, I suppose, the commandbar info is stored in the outcmd.dat > > file. You can delete this file (after a backup, of course), and OL will > > re-create it by the next start. > > > > -- > > Viele Grüße > > Michael Bauer > > > > > > "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message > > news:13BE29CB-2B77-4DB2-9046-9858EC8AAC14@microsoft.com... > > > Hi, > > > > > > I created an AddIn which create a toolbar in Outlook. > > > When i uninstall it, the toolbar still appears (doing nothing). > > > I checked to see that the addin file was deleted on uninstall and it > > was. > > > It seems that Outlook still save the toolbar info somewhere inside him > > > > > > Where does it save the toolbar info? > > > How can cause it not to save it outside of my Addin? > > > > > > Thanks > > > > Thanks,
I missed that. Show quoteHide quote "Michael Bauer" wrote: > No, I mean *create* temporarily. CommandBars.Add and > CommandBarControls.Add have an optional argument called temporary. You > should set this value to true. > > > -- > Viele Grüße > Michael Bauer > > > "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message > news:4FC3B7B8-1F32-4DC0-93AD-9577D4A15A3C@microsoft.com... > > Thanks, > > > > What do u mean by temporary toolbar? to remove it on Disconnect? I > tried to > > do so but the objects are not valid at this event. > > > > > > "Michael Bauer" wrote: > > > > > Hi, > > > > > > do you talk about OL 2000? It´s buggy and you should always create > your > > > toolbars temporarily only. > > > > > > Not sure, I suppose, the commandbar info is stored in the outcmd.dat > > > file. You can delete this file (after a backup, of course), and OL > will > > > re-create it by the next start. > > > > > > -- > > > Viele Grüße > > > Michael Bauer > > > > > > > > > "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message > > > news:13BE29CB-2B77-4DB2-9046-9858EC8AAC14@microsoft.com... > > > > Hi, > > > > > > > > I created an AddIn which create a toolbar in Outlook. > > > > When i uninstall it, the toolbar still appears (doing nothing). > > > > I checked to see that the addin file was deleted on uninstall and > it > > > was. > > > > It seems that Outlook still save the toolbar info somewhere inside > him > > > > > > > > Where does it save the toolbar info? > > > > How can cause it not to save it outside of my Addin? > > > > > > > > Thanks > > > > > > > > In addition to what Michael said you also should try deleting the command
bar object when the Explorer or Inspector Close event fires. If the object is already out of scope your code can just handle the error. That prevents the toolbar from still being there if for some reason your shut down code isn't called, which would release the temporary toolbar. It's a good idea with any version of Outlook to do that, not just Outlook 2000. -- Show quoteHide quoteKen Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Goldwind" <Goldw***@discussions.microsoft.com> wrote in message news:1F2A5553-B54D-4327-831B-9193B47CDFEA@microsoft.com... > Thanks, > I missed that.
Other interesting topics
Attn Sue - Outlook automation not working in windows service
custom buttons and vba Read_links_in_Mails? Sending emails with MAPI Inspector CommandBarButton with Word as Mail Converting Outlook2003 .pst to Outlook2002 Late binding to Outlook via VBA My add-in never gets loaded Return the date and hours currently selected in the calender Capture the subject line of an e-mail |
|||||||||||||||||||||||