PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins command button firing more than once

Reply

command button firing more than once

 
Thread Tools Rate Thread
Old 15-07-2003, 05:46 PM   #1
rauschy33
Guest
 
Posts: n/a
Default command button firing more than once


Hello all,

I have a weird problem occuring in my VB6 addin that I have not seen before
nor know where to look to solve the problem. I have a toolbar button that
its' onClick routine is firing more than once when click only once. Can
anyone help point out what I may be doing wrong or where I should look to
resolve this behavior.

Thank you.


  Reply With Quote
Old 15-07-2003, 11:14 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: command button firing more than once

Did you set CommandBarButton.Tag property to a unique string for each of the
buttons you create?

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


"rauschy33" <rauschy33@hotmail.com> wrote in message
news:O$MAPhuSDHA.2432@TK2MSFTNGP10.phx.gbl...
> Hello all,
>
> I have a weird problem occuring in my VB6 addin that I have not seen

before
> nor know where to look to solve the problem. I have a toolbar button that
> its' onClick routine is firing more than once when click only once. Can
> anyone help point out what I may be doing wrong or where I should look to
> resolve this behavior.
>
> Thank you.
>
>



  Reply With Quote
Old 16-07-2003, 02:49 PM   #3
rauschy33
Guest
 
Posts: n/a
Default Re: command button firing more than once

Thank you, you suggestion caused me to look at one of my sub routines, and I
found the culprit. Thank you again
"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
news:uMUkIYxSDHA.2280@TK2MSFTNGP12.phx.gbl...
> Did you set CommandBarButton.Tag property to a unique string for each of

the
> buttons you create?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
>
> "rauschy33" <rauschy33@hotmail.com> wrote in message
> news:O$MAPhuSDHA.2432@TK2MSFTNGP10.phx.gbl...
> > Hello all,
> >
> > I have a weird problem occuring in my VB6 addin that I have not seen

> before
> > nor know where to look to solve the problem. I have a toolbar button

that
> > its' onClick routine is firing more than once when click only once. Can
> > anyone help point out what I may be doing wrong or where I should look

to
> > resolve this behavior.
> >
> > Thank you.
> >
> >

>
>



  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