V
V
vvovas2017-09-14 11:41:58
JavaScript
vvovas, 2017-09-14 11:41:58

Word interop. Long operation without locking the interface?

I am writing an add-on for Word in c#. By pressing a button in the interface, a long work with the document should take place. How to correctly implement the process in the background so that it does not hang up the interface?
I tried using the standard Backgroundworker, but anyway, since there is a lot of work with the document itself, the entire interface freezes and is not updated until the end of the method.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Spirin, 2019-05-28
@pilium

if (ariaExpanded === 'true') {

M
Mikhail Fedotov, 2019-05-28
@Libiros

Try a strict comparison
if (ariaExpanded === false) {

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question