Hi,
I wanted to add smart tag in content control in word 2007 (I am doing it on content Control exit event). I have written following code in content control exit event to achieve the same. This works fine when Rich Text Content Control is used but the moment i use drop-down list content control; it throws an exception saying "Objects has been deleted."
I watch value of osmartTag object in QuickWatch, and found that most of object threw an exception of type 'System.Runtime.InteropServices.COMException'
Object
Word.
osmartTag.Properties.Add("Test"
Does anyone has idea, where i went wrong? Or Is there another way of adding smart tag for drop-down list content control?
Thanks and Regards
Sharad