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 » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Add-ins mit C#



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 5th 07, 02:11 PM posted to microsoft.public.outlook.program_forms
he[_2_]
external usenet poster
 
Posts: 1
Default Outlook Add-ins mit C#

hi,
I would like to make two equal AddIn Buttons in Outlook.
E-mail window shall be prepared the first button in this in a new tool bar.
The second button also shall in the window, at one which one double-click
message (InBox message list) is opened on an e-mail, be reported in a new
tool bar.
Both buttons call the same function.
In a test I have it as far as made already. I have stated but now that is
call after two or three the buttons not worked of Outlook any more or he is
not visible this any more.
there is not anywhere over this topic an example
I would be very pleased about a fast help since I do not come any further.

Ads
  #2  
Old December 5th 07, 02:47 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook Add-ins mit C#

You must declare the CommandBarButton objects that fire events at the class level, not the procedure level, so that the will not be released by .NET garbage collection. See http://msdn2.microsoft.com/en-us/library/aa159887.aspx

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"he" wrote in message ...
hi,
I would like to make two equal AddIn Buttons in Outlook.
E-mail window shall be prepared the first button in this in a new tool bar.
The second button also shall in the window, at one which one double-click
message (InBox message list) is opened on an e-mail, be reported in a new
tool bar.
Both buttons call the same function.
In a test I have it as far as made already. I have stated but now that is
call after two or three the buttons not worked of Outlook any more or he is
not visible this any more.
there is not anywhere over this topic an example
I would be very pleased about a fast help since I do not come any further.

 




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


All times are GMT +1. The time now is 08:39 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.