![]() ![]() Additionally, if your code is launching the Office application's exe file, you might need to wait for the Office application to finish loading before attempting to attach to the running instance. Using code, you can change focus from the Office application to your own application (or to some other application) to allow it to register itself in the ROT. Therefore, if you attempt to use GetObject or GetActiveObject to attach to a running instance of an Office application before the application has lost focus, you might receive one of the errors above. ![]() Instead of registering at startup, an Office application registers its running objects in the ROT once it loses focus. ![]() This optimizes the application's startup process. When an Office application starts, it does not immediately register its running objects. A running instance of an Office application must be registered in the ROT before it can be attached to using GetObject (Visual Basic) or GetActiveObject (Visual C++). Error: 0x800401e3 "Operation unavailable" CauseĪlthough the Office application is running, it might not be registered in the Running Object Table (ROT). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |