How to handle events from late-bound objects?
Dear friends,
My application already automates Word, Excel and Outlook.
Since its users can have Office 2007 to 2013 in their machines, i decided to stick with late binding to avoid compatibility and installation issues about the Interop interfaces.
It works ok, but I would make great improvements if I could handle the events raised by those applications' objects.
The question is? Can I catch events raised by late-bound objects? If so, how?
Thank you very much for your attention and help.
Re: How to handle events from late-bound objects?
Then, again, if there is a way of referencing Office Interop classes early that would allow my application to run seamlessy regardless of the Office version in user's computer (at least from version 2007 on) then it would be just as good. Thanks!