A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Opening WinForm in Outlook 2003 VSTO Addin with Wordmail enabled



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 13th 09, 05:53 PM posted to microsoft.public.outlook.program_addins
zrider350
external usenet poster
 
Posts: 1
Default Opening WinForm in Outlook 2003 VSTO Addin with Wordmail enabled

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/conversat...did=3031 8015

http://social.msdn.microsoft.com/for...-57545abd721b/

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTO SE + Outlook 2003 on Vista - Addin does not start after upda BillyD Add-ins for Outlook 6 September 12th 08 04:57 PM
deploy 2003 vsto addin on outlook 2007 problem lokesh Add-ins for Outlook 17 April 17th 08 04:36 PM
can't load VSTO outlook addin outside visual... fbolefeysot Add-ins for Outlook 5 February 28th 08 02:31 PM
outlook addin setup problem - created using vsto suman Outlook - Using Forms 1 July 16th 07 10:11 PM
VSTO Outlook Addin doesn't get loaded for non-admin user Piyush Gupta Add-ins for Outlook 5 May 9th 07 07:24 PM


All times are GMT +1. The time now is 12:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.