A
Andrey_R
Hi!
I have addins Outlook 2003. Cobe write VB6. I wont to treasfer it to Visual
Studio 2005 for Outlook 2007. And I have problem.
In Outlook 2003 I operate visibility button when I open massage in INBOX. I
write code
Dim comBarCtrl As CommandBarControls
Dim createButton As CommandBarControl
For countId = 354 To 356
' button "Replay" to button "Forward"
Set comBarCtrl = Toolbars.FindControls(Id:=countId)
For Each createButton In comBarCtrl
createButton.Enabled = False
Next
Next
But this code doesn't work in Visual Studio 2005. This button don't visible
operation There use ribbon.
What can I connect to ribbon and button "Resend"..."Forward" on the ribbon?
I have addins Outlook 2003. Cobe write VB6. I wont to treasfer it to Visual
Studio 2005 for Outlook 2007. And I have problem.
In Outlook 2003 I operate visibility button when I open massage in INBOX. I
write code
Dim comBarCtrl As CommandBarControls
Dim createButton As CommandBarControl
For countId = 354 To 356
' button "Replay" to button "Forward"
Set comBarCtrl = Toolbars.FindControls(Id:=countId)
For Each createButton In comBarCtrl
createButton.Enabled = False
Next
Next
But this code doesn't work in Visual Studio 2005. This button don't visible
operation There use ribbon.
What can I connect to ribbon and button "Resend"..."Forward" on the ribbon?