PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Temporary commandbar not getting deleted

Reply

Temporary commandbar not getting deleted

 
Thread Tools Rate Thread
Old 03-05-2004, 11:53 AM   #1
Lars Roland
Guest
 
Posts: n/a
Default Temporary commandbar not getting deleted


Hi I have created an commandbar with the following properties:

Set cbrNewToolbar = golApp.ActiveExplorer.CommandBars.Add _
(Name:="SoftReport", Position:=msoBarTop, Temporary:=True)

I have this code in a function that gets called from OnConnection (I use
the code from ItemsCB). The problem is that the commandbar does not seam
to be temporary, a new one gets added everytime outlook is started, and
the old one is not deleted.

How can I force the commandbar to get unloaded everytime outlook stops
and then created again when outlook is started.




Regards.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off