Outlook Send Button .Execute()?

B

Brian McCullough

Hello,

I previously posted a related message (see this link for a google groups
copy of it:
http://groups.google.com/group/micr...outlook+execute&rnum=1&hl=en#837b88f16c868601)

I am trying to automate the Send button in Outlook 2002 (Office XP) through
an addin. The add in is trusted and configured to work because it was added
as a trusted add in in the Exchange Security Public Folder. Therefore, I
have access to the Outlook Object Model and can send the message using
objMessage.Send() just fine. However, as I found out before, when you
automate the Send method, and you are not using Word as your email editor,
the Spell Check functionality is by passed.

When I posted my previous message, I wasn't aware that my add in was setup
as a trusted Outlook add in in the Exchange Public Folders, but I have since
learned that it is.

I thought now, since my add in is trusted and I have access to the Outlook
Object Model, that I might be able to get the spell checking functionality
back by getting a reference to the Send button and calling it's Execute()
method (rather than implementing a custom spell checking solution with
Word).

So, even though my add in is trusted (in the Exchange Security Public
Folder), I still cannot automate the Execute() method of Outlook's "Send"
button?

Thanks in advance!!!

-Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top