Button on Custom Form

  • Thread starter Thread starter Christie Sorenson
  • Start date Start date
C

Christie Sorenson

Hello yet again,
I'm having some serious outlook issues this week. Thank
you all for your patience.

I have a button on my custom form. When it is clicked, I
need to call some code in my addin. Right now, I have a
user property that I toggle the value in the custom form
code and capture the CustomPropertyChange event in my
addin. The problem is that I can't use custom form code
anymore because of the "active content" issue. Does
anyone know any other way to get my addin to know when the
button is clicked?

Thank you,
Christie
 
The problem is that I can't use custom form code
anymore because of the "active content" issue.

What do you mean?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
When my custom form has code in it and I send that
message, the receiver of the message gets the "This item
contains active content that cannot be displayed in the
preview pane" message. Since I have been unable to find a
way around getting that message, I have decided to try to
remove all the code from the custom form...
 
If you remove all code from the custom form, that will include any code for
your command button. One alternative would be to create a custom ActiveX
control to place on your form and perform whatever functionality you wanted
from the button. Another would be to use your add-in to place a button in
the toolbar for the item.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top