Word getting freezed when tried to diaplay right hand pane RRS feed

  • Question

  • Hi,

    I have a add-in which identifies citations in the word document and displays them on a right hand pane.But, I have this document which has some 2000+ citations which are getting identified correctly, but then when i want to display them in the RHP, the right hand pane  freezes.However, a document with lesser number of citations works just fine. Can you please suggest me a possible reason and  an alternative for this.



    Tuesday, November 25, 2014 4:10 AM

All replies

  • Hello Samjukta,

    It looks like the code which gathers the required information takes to much time to run. I'd suggest running another threads for long running operations. Also be aware that Office applications use the single-threaded apartments. So, you shouldn't use any Word objects in another threads.

    Did you try to debug the code?

    Tuesday, November 25, 2014 9:37 AM