I am using COM-automation to write-out data to an already-open Word-document.
As this operation takes quite sometime I'd like to show a progressbar to the user.
It is not possible to do the data-writeout in a backgroundworker, because this will cause the Word-application to throw exception rpc_e_servercall_retrylater even with MessageFilter implemented. I've learned this is due to Words foreground thread has trouble communicating with background thread.
Is it possible to turn it the other way around and instead use a new thread to display the progressbar? I've tried to open a new winform with only the progressbar inside it, and open it on it's own thread, but it is not updating.
Other ideas?