S
sublimese
I am writing an Addin for Outlook 2003 using C#. I am wondering if
anyone can answer a question or point me in the proper direction.
When my addin loads in Outlook, I want custom Outlook forms to be used
instead of the default Outlook forms. For example, when someone goes
to their inbox and opens an email (or presses the "New" button to make
an new email), when my addin is loaded, I want Outlook to load
"IPM.Email.MyCustomEmail", when/if my addin is not loaded, I would want
Outlook to load its default form. Is there a way to do this? I have
looked into trying to iterate the folders collection and setting the
default message type (which does not work because that property is read
only). The ideal solution would be to hook the form opening event in
my addin and have it open my custom form and cancel the opening of the
default form. If the ideal solution is not possible, dynamically
setting the MessageType on each folder would work as well.
Thank you very much,
Kelly Johnson
anyone can answer a question or point me in the proper direction.
When my addin loads in Outlook, I want custom Outlook forms to be used
instead of the default Outlook forms. For example, when someone goes
to their inbox and opens an email (or presses the "New" button to make
an new email), when my addin is loaded, I want Outlook to load
"IPM.Email.MyCustomEmail", when/if my addin is not loaded, I would want
Outlook to load its default form. Is there a way to do this? I have
looked into trying to iterate the folders collection and setting the
default message type (which does not work because that property is read
only). The ideal solution would be to hook the form opening event in
my addin and have it open my custom form and cancel the opening of the
default form. If the ideal solution is not possible, dynamically
setting the MessageType on each folder would work as well.
Thank you very much,
Kelly Johnson