The crash error "COMError: (-2147418111, 'Call was rejected by callee.', (None, None, None, 0, None))" means that the COM Server may not be able to response so quickly. After doing (1), the program will work well sometimes but may fail often. If I do not do this on my computer, the program will crash when I try to open a document in the invisible model, then the 'Word.Application' object will be deleted by OS. (Actually, even I myself cannot explain why this works. The first time when I created the 'Word.Application' object, I should make it (the word app) visible before open any documents. Steven's answer is right, but it will fail on my computer. I have worked on this problem for half a day, so I think I should share some of my experience on this matter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |