exception when I call ActiveDocument.Range(0,0).Editors.Add(-1)

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

When I browse to an email, the plug in will search the email text. If find
URL inside the email I will insert some string into the email based on if the
URL is safe or not.

It works fine on Outlook 2007. However in Outlook 2010 beta when I call:
ActiveDocument.Range(0,0).Editors.Add(-1) // where -1 stands for everyone
It raise exception.

BTW, I've tried different integers as parameter to Editers.Add() method. And
I also use email address, email alias string as parameters. All raise
exceptions.

Any suggestion?

Thanks in advance.

Tom
 
Back
Top