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?
 
Top