A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 spell check and .NET code



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 10th 08, 03:42 AM posted to microsoft.public.outlook.program_addins
rob_tt08[_2_]
external usenet poster
 
Posts: 15
Default Outlook 2007 spell check and .NET code

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.

Ads
  #2  
Old November 10th 08, 03:37 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 spell check and .NET code

I don't know of any way to do that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"rob_tt08" wrote in message
...
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.


  #3  
Old November 14th 08, 05:16 AM posted to microsoft.public.outlook.program_addins
rob_tt08[_2_]
external usenet poster
 
Posts: 15
Default Outlook 2007 spell check and .NET code

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.

"Ken Slovak - [MVP - Outlook]" wrote:

I don't know of any way to do that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"rob_tt08" wrote in message
...
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.



  #4  
Old November 14th 08, 02:10 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 spell check and .NET code

Is the Word CheckSpelling method a blocking synchronous method? I thought it
was asynchronous.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"rob_tt08" wrote in message
...
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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 Spell Check Oddity Ross from Orlando Outlook - General Queries 1 September 8th 08 03:56 PM
Outlook 2007 Spell Check issue Jay[_3_] Outlook - General Queries 0 March 28th 08 01:15 PM
Turning off spell check in Outlook 2007 [email protected] Outlook - General Queries 3 September 7th 07 12:55 PM
How do I spell check notes in outlook 2007 jensen Outlook - General Queries 2 January 21st 07 03:37 PM
Outlook 2007 Spell Check Error Jim B Outlook - Installation 0 June 7th 06 11:39 PM


All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.