Home All Groups Group Topic Archive Search About

Toolbar still appear on uninstall

Author
2 Jan 2005 3:11 PM
Goldwind
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
Author
2 Jan 2005 3:41 PM
Michael Bauer
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


Show quoteHide quote
"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
Are all your drivers up to date? click for free checkup

Author
2 Jan 2005 4:17 PM
Goldwind
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
>
>
Author
2 Jan 2005 6:07 PM
Michael Bauer
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


Show quoteHide quote
"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
> >
> >
Author
2 Jan 2005 10:23 PM
Goldwind
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
> > >
> > >
>
>
Author
3 Jan 2005 1:59 PM
Ken Slovak
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.

--
Ken 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


Show quoteHide quote
"Goldwind" <Goldw***@discussions.microsoft.com> wrote in message
news:1F2A5553-B54D-4327-831B-9193B47CDFEA@microsoft.com...
> Thanks,
> I missed that.

Bookmark and Share