Hi, ken, My case is not as the same as what you described. If in word editor
mode, get_State is always ok. If without word editor, i found it is error if
you open for first time, close one e-mail you opened, then open any ones it
will be ok. If you don't do "close" action, it may be not correct.
Ken Slovak - [MVP - Outlook] wrote:
I've often found with WordMail, if this relates to that, that Outlook loses
its references and I have to reinstantiate the button object when I want to
use something like State, even in the Click() event for that button.
It is very strange that i couldn't get the buttons' state currently for
first
time open an e-mail(draft) or create a new one. I firstly find the button
then get_State. return value is S_OK. but state is error.
When i open the second e-mail, all are ok?Why?Thank you.
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200905/1