L
Lars Roland
Hi. I have made a COM addin to outlook, and now i want distribute
an custom made icon with it. Can i somehow specify this in the .Style
section of my code or is there another way ??
eg. i have this code and i want to specify my own icon womewhere:
---------------------------------------------------------------
fldReportSpamButton = oStandardBar.Controls.Item("Report Spam")
If fldReportSpamButton Is Nothing Then
fldReportSpamButton = oStandardBar.Controls.Add(1)
With fldReportSpamButton
.Caption = "Report Spam"
.Style = MsoButtonStyle.msoButtonCaption
' The following items are optional, but recommended.
.Tag = "Report Spam"
.OnAction = "!<MyCOMAddin.Connect>"
.Visible = True
End With
End If
an custom made icon with it. Can i somehow specify this in the .Style
section of my code or is there another way ??
eg. i have this code and i want to specify my own icon womewhere:
---------------------------------------------------------------
fldReportSpamButton = oStandardBar.Controls.Item("Report Spam")
If fldReportSpamButton Is Nothing Then
fldReportSpamButton = oStandardBar.Controls.Add(1)
With fldReportSpamButton
.Caption = "Report Spam"
.Style = MsoButtonStyle.msoButtonCaption
' The following items are optional, but recommended.
.Tag = "Report Spam"
.OnAction = "!<MyCOMAddin.Connect>"
.Visible = True
End With
End If