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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"ryotyankou via OfficeKB.com" u48591@uwe wrote in message
news:960f46eac6e84@uwe...
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