T
Tam
I has written a program (use word interop) that can let user to choose a
datasource file, then open the WORD and bind data to merge fields
automatically, however, if InsertMergeField Dialog was opened, when user
switch to other datasource, the error will show like the following:
UnHandled Exception:Call was rejected by callee. (Exception from HRESULT:
0x80010001 (RPC_E_CALL_REJECTED))
How can I use word interop to close the insert merge field dialog first ?
Because this dialog was opened by user. I only find the 'Dialog' methods have
'Show' and 'Display', can not find the 'Close' method.
datasource file, then open the WORD and bind data to merge fields
automatically, however, if InsertMergeField Dialog was opened, when user
switch to other datasource, the error will show like the following:
UnHandled Exception:Call was rejected by callee. (Exception from HRESULT:
0x80010001 (RPC_E_CALL_REJECTED))
How can I use word interop to close the insert merge field dialog first ?
Because this dialog was opened by user. I only find the 'Dialog' methods have
'Show' and 'Display', can not find the 'Close' method.