Adding button to email/task/appointment forms

R

Russ Holmes

Hi,

I need to add a button to the email, task and appoiontment forms. This then
needs to start an executable when clicked. How would I do this in VB.NET
addin? I am able to restrict this to certain Outlook versions (ie no
problem if you can only do it in Outlook 2002 + )

I have been able to create a button on the main outlook toolbar....

MyButton = oStandardBar.Controls.Add(1)

....and and start the exe using....

Private Sub MyButton_Click(ByVal Ctrl As
Microsoft.Office.Core.CommandBarButton, ByRef CancelDefault As Boolean)
Handles MyButton.Click

Process.Start("C:\MyExe.exe")

End Sub

Are there any security implications in doing this?

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top