ApplicationEvents3 in Word 2003?

A

Alex

I noticed that Word 2003 defines all of ApplicationEvents2_Event, ApplicationEvents3_Event and ApplicationEvents4_Event interfaces.
If I use the "old" interfaces (2 or 3) instead of the latest (4), will the evens still work?

I tried using the WindowSelectionChange event from ApplicationEvents3_Event interface and it seems to work fine but are there any caveats?

Thanks,
Alex.
 
P

Peter Huang [MSFT]

Hi

Common it depends on the declartion of the PIA.
You may check it by referecne to the word PIA, and press Ctrl+Alt+J to open
the Object Browser.
Check the Type under namespace
Microsoft.Office.Interop.Word

We will find the public abstract interface ApplicationEvents2_Event has
difference member from public abstract interface ApplicationEvents3_Event.
the WindowSelectionChangeEventHandler is included in both
ApplicationEvents2_Event,ApplicationEvents3_Event and
ApplicationEvents4_Event.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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