Handle Office App Events in Multi-App COM Add-in (VB6)

J

jchau

How can I catch various application events in a COM Add-in that's developed
for both Word and Powerpoint? The Add-in is created in Visual Basic 6.0. I
have a global reference to the Application Object but since I won't know if
the Application will be Word or Powerpoint till runtime, I can't create a
WithEvents reference. Are there any VB6 code examples of creating event
handlers?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top