D
David Thielen
Hi;
Occasionally the WindowSelectionChange event stops calling our event
handler. It has only happened twice in all of our testing this week so it is
very rare. But once we lose that our AddIn basically can't work so this is
critical.
It appears to only happen on Word 2007 - both cases were on Word 2007 and
this has never been reported on the old version which was installed almost
entirely on Word 2000/2002/2003.
Any ideas as to why and what we can do to fix this?
Our code is:
private Application applicationObject;
....
#if WORD2007
applicationObject.WindowSelectionChange += new
ApplicationEvents4_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#else
#if WORD2003
applicationObject.WindowSelectionChange += new
ApplicationEvents4_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#else
#if WORD2002
applicationObject.WindowSelectionChange += new
ApplicationEvents3_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#else
applicationObject.WindowSelectionChange += new
ApplicationEvents2_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#endif
#endif
#endif
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Occasionally the WindowSelectionChange event stops calling our event
handler. It has only happened twice in all of our testing this week so it is
very rare. But once we lose that our AddIn basically can't work so this is
critical.
It appears to only happen on Word 2007 - both cases were on Word 2007 and
this has never been reported on the old version which was installed almost
entirely on Word 2000/2002/2003.
Any ideas as to why and what we can do to fix this?
Our code is:
private Application applicationObject;
....
#if WORD2007
applicationObject.WindowSelectionChange += new
ApplicationEvents4_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#else
#if WORD2003
applicationObject.WindowSelectionChange += new
ApplicationEvents4_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#else
#if WORD2002
applicationObject.WindowSelectionChange += new
ApplicationEvents3_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#else
applicationObject.WindowSelectionChange += new
ApplicationEvents2_WindowSelectionChangeEventHandler(MainMenuOnUpdate);
#endif
#endif
#endif
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm