BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

removing outlook toolbar on uninstall

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Harald Binkle
Guest





PostPosted: Thu Jun 16, 2005 9:50 am    Post subject: removing outlook toolbar on uninstall Reply with quote



Hi,
I wrote a plugin for outlook. It creates a toolbar.
First I set that toolbar temporary then every time I start Outlook the
position of the toolbar was the same, so when a user draged it somewhere it
appeared again on default position on Outlook restart.
So I set it as non-temporary toolbar. Now user can drag it and it appears
there again on restart, fine!
BUT now when I deinstall my plugin there is an empty toolbar left.
How to delete this?

(I uses innosetup for deinstall is there a possibility)

Best greetings

Harry

--



Back to top
Dmitry Streblechenko
Guest





PostPosted: Thu Jun 16, 2005 5:44 pm    Post subject: Re: removing outlook toolbar on uninstall Reply with quote



Do create the toolbar as temporary, but persist its position before Outlook
closes (Explorer.Close event would do).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Harald Binkle" <binkle (AT) jam-software (DOT) com> wrote

Quote:
Hi,
I wrote a plugin for outlook. It creates a toolbar.
First I set that toolbar temporary then every time I start Outlook the
position of the toolbar was the same, so when a user draged it somewhere
it
appeared again on default position on Outlook restart.
So I set it as non-temporary toolbar. Now user can drag it and it appears
there again on restart, fine!
BUT now when I deinstall my plugin there is an empty toolbar left.
How to delete this?

(I uses innosetup for deinstall is there a possibility)

Best greetings

Harry

--






Back to top
Harald Binkle
Guest





PostPosted: Mon Jun 20, 2005 11:32 am    Post subject: Re: removing outlook toolbar on uninstall Reply with quote



How to persist its position?

"Dmitry Streblechenko" <dmitry (AT) dimastr (DOT) com> schrieb im Newsbeitrag
news:42b1ba98$1 (AT) newsgroups (DOT) borland.com...
Quote:
Do create the toolbar as temporary, but persist its position before
Outlook
closes (Explorer.Close event would do).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Harald Binkle" <binkle (AT) jam-software (DOT) com> wrote in message
news:42b14b4a$1 (AT) newsgroups (DOT) borland.com...
Hi,
I wrote a plugin for outlook. It creates a toolbar.
First I set that toolbar temporary then every time I start Outlook the
position of the toolbar was the same, so when a user draged it somewhere
it
appeared again on default position on Outlook restart.
So I set it as non-temporary toolbar. Now user can drag it and it
appears
there again on restart, fine!
BUT now when I deinstall my plugin there is an empty toolbar left.
How to delete this?

(I uses innosetup for deinstall is there a possibility)

Best greetings

Harry

--








Back to top
Dmitry Streblechenko
Guest





PostPosted: Mon Jun 20, 2005 11:03 pm    Post subject: Re: removing outlook toolbar on uninstall Reply with quote

Up to you: registry or file woudl do nicely. You just need to remember the
value of the CommandBar.Position property and use the stored value when
createing the command bar next time.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Harald Binkle" <binkle (AT) jam-software (DOT) com> wrote

Quote:
How to persist its position?

"Dmitry Streblechenko" <dmitry (AT) dimastr (DOT) com> schrieb im Newsbeitrag
news:42b1ba98$1 (AT) newsgroups (DOT) borland.com...
Do create the toolbar as temporary, but persist its position before
Outlook
closes (Explorer.Close event would do).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Harald Binkle" <binkle (AT) jam-software (DOT) com> wrote in message
news:42b14b4a$1 (AT) newsgroups (DOT) borland.com...
Hi,
I wrote a plugin for outlook. It creates a toolbar.
First I set that toolbar temporary then every time I start Outlook the
position of the toolbar was the same, so when a user draged it
somewhere
it
appeared again on default position on Outlook restart.
So I set it as non-temporary toolbar. Now user can drag it and it
appears
there again on restart, fine!
BUT now when I deinstall my plugin there is an empty toolbar left.
How to delete this?

(I uses innosetup for deinstall is there a possibility)

Best greetings

Harry

--










Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.