V
Vela
I am trying to insert a text (hyperlinks) at a cursor position in the new
email (inspector) window on Outlook 2007. Our code worked fine in outlook xp
+ 2003. We get the WordEditor object, then get the document (QI),
Selection = spDoc->GetActiveWindow
Range = Selection->GetRange
Pass this Range object to spHyperLinks->Add (Doc->HyperLinks)
On Outlook 2007, spDoc->GetActiveWindow fails with hr = 0x800A180E
If you could tell me why GetActiveWindow is failing, any other way
(workarund) to do the same.
Any help is greatly appreciated.
email (inspector) window on Outlook 2007. Our code worked fine in outlook xp
+ 2003. We get the WordEditor object, then get the document (QI),
Selection = spDoc->GetActiveWindow
Range = Selection->GetRange
Pass this Range object to spHyperLinks->Add (Doc->HyperLinks)
On Outlook 2007, spDoc->GetActiveWindow fails with hr = 0x800A180E
If you could tell me why GetActiveWindow is failing, any other way
(workarund) to do the same.
Any help is greatly appreciated.