Z
zrider350
I have been banging my head with this issues for sometime now. Can someone
PLEASE help??? When I create a commandbar on a new inspector window that uses
word mail, the form that opens doesn't fully load. I have done a lot of
research on this and I believe it is a threading issue because I create my
command bar in word which is subclassed into Outlook. When wordmail isn't
enabled the apartment state of the executing thread is STA and when wordmail
is enabled it is MTA. I have tried to use a delegate to instantiate the form
instead with no success. Below are a couple of relevant posts I have found.
Ken Slovak mentions in one of these that he used several API calls to make
this work. Can someone please provide a working sample. If you need a sample
to reproduce I can provide one. I used the code sample to load wordmail
toolbars on the inspector_activate event. I added another windows project and
then tried to instantiate the form from my class. It never fully loads. Below
are some links I have found helpful.
http://www.eggheadcafe.com/conversation.aspx?messageid=30318020&threadid=30318015
http://social.msdn.microsoft.com/forums/en-US/vsto/thread/648a2c92-5690-4dc0-bfc0-57545abd721b/
PLEASE help??? When I create a commandbar on a new inspector window that uses
word mail, the form that opens doesn't fully load. I have done a lot of
research on this and I believe it is a threading issue because I create my
command bar in word which is subclassed into Outlook. When wordmail isn't
enabled the apartment state of the executing thread is STA and when wordmail
is enabled it is MTA. I have tried to use a delegate to instantiate the form
instead with no success. Below are a couple of relevant posts I have found.
Ken Slovak mentions in one of these that he used several API calls to make
this work. Can someone please provide a working sample. If you need a sample
to reproduce I can provide one. I used the code sample to load wordmail
toolbars on the inspector_activate event. I added another windows project and
then tried to instantiate the form from my class. It never fully loads. Below
are some links I have found helpful.
http://www.eggheadcafe.com/conversation.aspx?messageid=30318020&threadid=30318015
http://social.msdn.microsoft.com/forums/en-US/vsto/thread/648a2c92-5690-4dc0-bfc0-57545abd721b/