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

Spell Checker issue going over original message



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 16th 09, 12:52 AM posted to microsoft.public.outlook.program_addins
Esteban
external usenet poster
 
Posts: 6
Default Spell Checker issue going over original message

Hi,

I’m developing an add-in for Outlook 2003/2007 with Visual Studio 2008, .Net
Framework 2.0 (C#) and I’m having an issue with the default spell checking
functionality provided by Outlook 2003 (Word editor) and 2007.

I created a very simple test project that finds the selected item in the
Explorer window and then I call the Reply() method and launch the newly
created MailItem in its own Inspector. This will include the original content
at the bottom of the new composing window (default option in Outlook):

-- pseudo code --
selectedItem = Explorer. Selection[1];
newItem = selectedItem.Reply();
newItem.Display(false);

My issue is that when the user finishes composing the response and invokes
the Spell Check (F7) command the whole message is scanned, including the text
of the original message, despite the fact that the “Ignore original message
text in reply or forward” option is enabled (default).

If I use the standard Reply button in Outlook Explorer or one of the
equivalent shortcuts (or in the Inspector window), the Spell Checker honors
this setting and checks only the new content in the composing message.

How can I reproduced this behavior programmatically? I imagined that maybe
Outlook (or Word?) is injecting some sort of marker in the content of the
message (HTMLBody?) to then know when to stop checking, so I tried using
OutlookSpy to see check the HTMLBody property of the new message but I can’t
detect any differences there. Is there any other setting I’m missing in
either the original message (“selectedItem”) or the new one created via Reply
method (“newItem”) to produce this result?

Thanks in advance for any comments or hints.

Esteban

PS: I’m also using AddinExpress components, but I understand this is not
related to that library as this behavior can be reproduced with simple VB
scripting.

Ads
 




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
Spell checker Rolf Pomes Outlook - General Queries 3 April 27th 09 06:44 PM
Spell checker Outlook Express 3 May 4th 07 03:08 PM
spell checker iainsymac Outlook Express 1 April 26th 07 05:00 PM
Spell checker / ignore original message in reply or forward coopfab Outlook - General Queries 9 January 3rd 07 06:56 PM
No spell checker bajabum Outlook Express 8 November 28th 06 02:02 AM


All times are GMT +1. The time now is 06:06 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.