Outlook 2007 spell check and .NET code

Posted on 2008-11-09
Medium Priority
Last Modified: 2013-11-10
Our company has been working on an Outlook AddIn using VSTO which has a number of issues which we have not been able to resolve yet.

We would appreciate any insight or assistance you can offer.

Our AddIn uses CommandBarButton.Execute() to trigger a spell check before continuing to run its own code which eventually pops up a .NET form. In the Outlook 2003 version, this works fine. In the Outlook 2007 version of the AddIn, the code does not wait for the spellcheck to be completed before continuing to run, which results in our .NET form appearing over the top of the spellcheck window instead of appearing after it closes. How can we get the form to only popup once the spell check has been finished/closed?
Thank you for your advice.
Question by:timetracer
1 Comment

Accepted Solution

timetracer earned 0 total points
ID: 22957510
I was able to work around this issue by using the CheckSpelling method on the WordEditor object instead of using CommandBarButton.Execute in the Outlook 2007 version of the AddIn.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question