From: mjlaali on 15 May 2010 01:32 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,
From: Doug Robbins - Word MVP on 15 May 2010 03:30 You would have to show us the code that you are using. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "mjlaali" <mjlaali(a)discussions.microsoft.com> wrote in message news:828D1D14-9EF4-40BE-9442-CF9B37707F86(a)microsoft.com... > 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,
|
Pages: 1 Prev: Modify macro to extract acronyms Next: passive sentences is always zero |