Application.WindowSelectionChange event for 2002/2003

D

David Thielen

Hi;

Using the Word 2003 PIAs, Application.WindowSelectionChange wants a
ApplicationEvents4_WindowSelectionChangeEventHandler while the 2002 PIAs want
a ApplicationEvents3_WindowSelectionChangeEventHandler (3 instead of 4).

Is there any common way to do this that works for both?
 
P

Peter Huang

Hi

I think this is by design and that is why office XP PIA is not compatible
with office 2003.
If you look into the office xp/2003 PIA in object browser(ctrl+alt+J) in
VS.NET IDE, we will find that the difference.
office xp PIA, the application is derived from ApplicationEvents3_Event
while
office 2003 PIA, the application is derived from ApplicationEvents4_Event.

Hope this helps.

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.
 
D

David Thielen

Bummer - that is the only code change between building for 2002 and 2003.

Oh well...

thanks - dave
 

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