implement word count in outlook

M

mohanty_ashish

Hi,
Is it possible to implement the word count in outlook which will count the
words in runtime, i mean while composing a new mail it should keep on
counting the number of characters typed.
Any VC++ or VB code in this regard will be a great help for me.

Thanks in advance,
Ashish.
 
K

Ken Slovak - [MVP - Outlook]

If WordMail is being used you can get the WordEditor object of the
Inspector, which is a Word document object. That lets you use the Word
object model to count words. For HTML the HTMLEditor would be IE or whatever
is the default HTML editor. In that case you'd use the IE object model for a
document. For the Outlook editor you'd have to parse the Body property and
split that string by spaces to get a rough count of the words.

In Outlook 2007 you only have the Word editor so that would always be
available.
 

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