D
David Thielen
Hi;
I am trying somehow to get these bugs reported to the Word group
(having no luck so far):
CommandBarControl.Enabled = true/false throws an exception. Here is
how it happens. If I start Word, type something in the new default
document, open a second document, close the first instance of Word
(document and application), then close the document in the second
instance of Word leaving Word with no document, then when the
ThisApplication.WindowSelectionChange event is fired, I try to disable
all menu items based on caret position (no caret == no caret
position). It throws an exception at this point. I can still run the
menu events, I just can’t enable/disable the menu itself. If I then
open a document in Word - sometimes it will then let me enable/disable
the menu items. But usually not. This happens on my computer, but not
on my daughter’s computer.
However, even after this happens, the menu events still fire when the
user selects that menu item.
thanks - dave
I am trying somehow to get these bugs reported to the Word group
(having no luck so far):
CommandBarControl.Enabled = true/false throws an exception. Here is
how it happens. If I start Word, type something in the new default
document, open a second document, close the first instance of Word
(document and application), then close the document in the second
instance of Word leaving Word with no document, then when the
ThisApplication.WindowSelectionChange event is fired, I try to disable
all menu items based on caret position (no caret == no caret
position). It throws an exception at this point. I can still run the
menu events, I just can’t enable/disable the menu itself. If I then
open a document in Word - sometimes it will then let me enable/disable
the menu items. But usually not. This happens on my computer, but not
on my daughter’s computer.
However, even after this happens, the menu events still fire when the
user selects that menu item.
thanks - dave