Autocomplete feature in MS Word using VSTO 2010
Posted on 2011-04-27
I am creating a Microsoft Word application Addin using VSTO 2010. I need to add autocomplete feature in it in such a way that user will first create its common sentences (which he mostly use) repository and then when he start typing in document, application will suggest him the matching sentences.
In this requirements I have following two challenges.
1. How to capture the user typing event in Microsoft Word as VSTO does not have any such event in it. The solution should be secure and fast.
2. How can I show the small auto-complete window below the cursor (where user is typing) in MS Word document.
Thanks in advance.