M
mjlaali
Hi,
I have created an automation program which opens a word file through MS Word
Object Model and creates a new file using the opened file. When I use it with
large files, it intensively makes calls to Word Object Model Methods and
after doing part of the job a dialog will appear which informs “This action
cannot be completed because the other program is busy. Choose ‘switch to’ to
activate the busy program and correct the problemâ€. If I click ‘switch to’
button of the dialog, Windows start button will act. If I click ‘retry’
button of the dialog it will appear again and if I click ‘cancel’ button of
the dialog my program will catch a COleException whose error message is “Call
was rejected by calleeâ€. I don’t know why it happens and how I should fix it.
thanks,
I have created an automation program which opens a word file through MS Word
Object Model and creates a new file using the opened file. When I use it with
large files, it intensively makes calls to Word Object Model Methods and
after doing part of the job a dialog will appear which informs “This action
cannot be completed because the other program is busy. Choose ‘switch to’ to
activate the busy program and correct the problemâ€. If I click ‘switch to’
button of the dialog, Windows start button will act. If I click ‘retry’
button of the dialog it will appear again and if I click ‘cancel’ button of
the dialog my program will catch a COleException whose error message is “Call
was rejected by calleeâ€. I don’t know why it happens and how I should fix it.
thanks,