D
Doug Buchanan [Exchange MVP]
I have written an add-in in C#. It uses a web service to transmit some
information. As soon as I create an instance of the web service, the
eventhandler that I added for the CommandBarButton's Click event is lost. The
application, commandbar and commandbarbutton are global in scope. If I "+="
the event back to the button, it works again. However, this has the
side-effect of potential multiple event firing as documents are opened,
closed, etc. Is there a known issue with this? Any ideas how to track down
what's happening? I'm not catching any errors, and the web service appears to
be doing exactly what it's supposed to...
Thanks!
Doug
information. As soon as I create an instance of the web service, the
eventhandler that I added for the CommandBarButton's Click event is lost. The
application, commandbar and commandbarbutton are global in scope. If I "+="
the event back to the button, it works again. However, this has the
side-effect of potential multiple event firing as documents are opened,
closed, etc. Is there a known issue with this? Any ideas how to track down
what's happening? I'm not catching any errors, and the web service appears to
be doing exactly what it's supposed to...
Thanks!
Doug