Click here to Skip to main content
15,904,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to build a add-in for MS word which needs instant access to the words that are typed in. I tried to google how the spell-checker on MS word accesses the each word after the space bar is hit but I couldn't find anything.. I would really appreciate it if someone could tell me how or direct me to any material that explains this.. Please understand that I'm learning C# and this is my first windows add-in.. I have no clue where to start.. thank you..

I need to know how to get each word into a temp variable for comparison, as soon as the user types it in(spacebar is hit).
Posted
Updated 18-Oct-14 19:26pm
v2
Comments
[no name] 18-Oct-14 17:52pm    
http://www.bing.com/search?q=c%23+word+addin
Tejas Shastri 18-Oct-14 17:55pm    
haha :D thanks for the response.. But I know how to create new add-in project.. I need to know ow to access each word like the spell checker does.. btw i'm still googling.. :D
[no name] 18-Oct-14 18:51pm    
No... "I know how to create new add-in project", obviously you do not. Otherwise you would not have asked where to start.
Tejas Shastri 19-Oct-14 1:06am    
I need to know how to fetch the word into buffer for comparison as soon as the user types it in :( please help with that..

1 solution

There is speciall collection: Words[^]
 
Share this answer
 
Comments
Tejas Shastri 18-Oct-14 18:14pm    
Thanks :) Helped :D
Tejas Shastri 19-Oct-14 3:34am    
I dont understand How I can copy the last word of the document that is already open.. I'm not going to open the doc.. I want access to the document in the already active word file window.. Its an add-in

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900