dcsimg
Results 1 to 2 of 2

Thread: How to handle events from late-bound objects?

  1. #1

    Thread Starter
    Member VBobCat's Avatar
    Join Date
    Sep 2011
    Location
    São Paulo, Brazil
    Posts
    34

    Question 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.
    VBobCat
    VS2013 & Office-VBA
    Autodidact, part-time programmer for job needs

  2. #2

    Thread Starter
    Member VBobCat's Avatar
    Join Date
    Sep 2011
    Location
    São Paulo, Brazil
    Posts
    34

    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!
    VBobCat
    VS2013 & Office-VBA
    Autodidact, part-time programmer for job needs

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width