Outlook commandbar

S

sai

Hi,

I have created a Com AddIn in VB 6, which basically
creates a command bar on inspector i.e., mail item.
Command bar has 3 command buttons, and they are working
fine. The only problem is that when i open a mail to read,
the command bar appears on the window and functions as it
is supposed to, but when i click on reply button, the new
command buttons on the actual mail does not respond to the
click events, whereas the reply window is responding.

I have repeated this with new mail, reply, reply all and
forward windows, as soon as the any of the before said
windows open, the mail windows does not respond to the
command button events.

Does anybody know whats going on? Your help is greatly
appreciated.

Environment:
Windows XP, Office XP, Outlook 2002 and VB 6.0


Thanks
SAI
 
M

McNealey

Since this post is about 2 months old, you may have already
figured this out.

I ran into this problem when I first starting creating a
addin for Outlook. The problem I had is when the new
inspector event was being called, I created a new mailitem.
When I created the new mailitem, I loss the reference to
all previously created mailitems. I had to object list. I
added ever created mailitem to this list and removed them
when the mailitem was closed.
 
Top