none
Sample application for AddIn in outlook2010 - VS2008 RRS feed

  • Question

  • Hi,

    I would like to create AddIn that should under Home Ribbon Tab like below. 

    I already have application with 2003 template , but there i am using commandbarbutton and it's showing under addin tab itself.

     Dim oApp As Outlook.Application = New Outlook.Application()
            myCommandBarControll = oApp.ActiveExplorer.CommandBars.Add("BIBCommandBar", MsoBarPosition.msoBarTop, False, True)
            myCommandBarControll.Visible = True
            mnuPopup = myCommandBarControll.Controls.Add(MsoControlType.msoControlButton)
     With mnuPopup
                    '  .Style = Office.MsoButtonStyle _
                    '  .msoButtonIconAndCaption()
                    .Caption = "TWDM"
                    .Width = 60
                    .FaceId = 65
                    .Tag = "TWDM"
                    ' .Picture = getImage()
                End With


    Can you please provide sample code using VS2008 and Outlook2007 Addin Template. ?

    


    • Edited by Narsa Tuesday, August 13, 2013 8:51 AM
    Tuesday, August 13, 2013 8:48 AM

Answers

All replies

  • Hi,

    I would like to create AddIn that should under Home Ribbon Tab like below. 

    I already have application with 2003 template , but there i am using commandbarbutton and it's showing under addin tab itself.

     Dim oApp As Outlook.Application = New Outlook.Application()
            myCommandBarControll = oApp.ActiveExplorer.CommandBars.Add("BIBCommandBar", MsoBarPosition.msoBarTop, False, True)
            myCommandBarControll.Visible = True
            mnuPopup = myCommandBarControll.Controls.Add(MsoControlType.msoControlButton)
     With mnuPopup
                    '  .Style = Office.MsoButtonStyle _
                    '  .msoButtonIconAndCaption()
                    .Caption = "TWDM"
                    .Width = 60
                    .FaceId = 65
                    .Tag = "TWDM"
                    ' .Picture = getImage()
                End With

    Can you please provide sample code using VS2008 and Outlook2007 Addin Template. ?

    Tuesday, August 13, 2013 9:29 AM
  • Hi Narsa,

    Please check the link below whether is helpful for you.

    Outlook 2007 Add-Ins: RulesAddin, TravelAgencyAddin, and PrepareMeAddin

    And you can get more information from link below

    Outlook 2007 Sample Add-ins

    Thursday, August 15, 2013 4:21 PM