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