Thread: Outlook Add-in
View Single Post
  #3  
Old October 4th 07, 05:44 PM posted to microsoft.public.outlook.program_addins
Marius
external usenet poster
 
Posts: 6
Default Outlook Add-in

Hey,

Thank you.

Do you have any ideas, why the Button in Outlook after this Function not
released?

Thanks,

Sincerely,
Marius


"Ken Slovak - [MVP - Outlook]" schrieb im Newsbeitrag
...
What Outlook version? Where is the button, on an Inspector or an Explorer?

In general you can get an Explorer button for the active Explorer using
code to find the button such as:

Dim button As Office.CommandBarButton

' ol is an Outlook.Application object already instantiated, this code
assumes button added
' to Standard toolbar

Set button = ol.ActiveExplorer.CommandBars("Standard").FindCont rol(Tag
:= "MyTag")
If Not (button Is Nothing) Then
button.Execute
End If

--
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


"Marius" wrote in message
...
Hello,

I have made an Outlook Add-In with Visual Basic 6.0.
The Add-In makes an Toolbar and all workes fine.

Now, I want to click an Button on these Toolbar from another Programm.
How can I do this?

Thanks for an answer.

Sincerely,
Marius



Ads