none
display my information inside outlook RRS feed

  • Question

  • I have created an app (currently standalone) which pulls various bits of information for my business from my outlook contacts and displays the results (expiry dates of services etc etc) in a form, along with various buttons for automating the process of sending out reminders/renewals etc etc

    All is working fine as a standalone app, but I think I quite like the idea of integrating it within Outlook somehow

    I presume my options are to create an Outlook Add-In?

    If so what choices do I have as to displaying information in Outlook? can I customize say the Outlook Today page to show it, or have a task pane or something down the right hand side?

    Is this something I can do with VB, or do I need to buy something like add-in-express to do this?

    All comments appreciated - please ask if I am not making sense!

    Thanks


    Darren Rose

    Saturday, October 18, 2014 7:12 PM

Answers

All replies

  • Task pane sounds like the way to go. You probably don't need Add-in Express, but VSTO will help you a lot with the task pane: otherwise you would need to create a control exposed as an ActiveX control, VSTO will take care of that plumbing.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Saturday, October 18, 2014 9:01 PM
  • thanks, will look into task pane

    Is this something I can do with a visual designer like I would when laying out a form? or do all the controls etc have to be added to it using code rather than dropping them on to a form


    Darren Rose

    Saturday, October 18, 2014 9:19 PM
  • You can use WinForms designrd and controls to build it. See http://msdn.microsoft.com/en-us/library/aa942864.aspx and http://msdn.microsoft.com/en-us/library/bb296010.aspx


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Saturday, October 18, 2014 10:20 PM
  • brilliant - thanks - both articles are very useful

    Darren Rose

    Saturday, October 18, 2014 11:48 PM
  • Those articles have been very helpful

    Created my own task pane without a problem, but when I try adding a ribbon so I can have a button to show/hide ribbon - as per example on this page

    http://msdn.microsoft.com/en-us/library/bb608590.aspx

    I keep getting following error which I don't understand - have tried following the tutorial several times now in case I missed something, but same problem each time:

    Error 1 'ManageTaskPaneRibbon' is not a member of 'OutlookAddIn1.ThisRibbonCollection'. C:\Users\Darren\Documents\Visual Studio 2013\Projects\OutlookAddIn1\OutlookAddIn1\ThisAddIn.vb 19 9 OutlookAddIn1

    Any ideas, am I doing something stupid?


    Darren Rose

    Monday, October 20, 2014 3:54 PM
  • You need to post the relevant snippets of your code. You might also want to start a new thread.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, October 20, 2014 3:56 PM
  • Okay will start new thread if get no answers

    The code is exactly the same as shown on the link above - I followed the steps but for an outlook add-in rather than excel

    Error is on this section - Globals.Ribbons.Manage....... is underlined with error I posted above

    Private Sub taskPaneValue_VisibleChanged(ByVal sender As Object, _
        ByVal e As System.EventArgs) Handles taskPaneValue.VisibleChanged
    
            Globals.Ribbons.ManageTaskPaneRibbon.ToggleButton1.Checked = taskPaneValue.Visible
        End Sub


    Darren Rose

    Monday, October 20, 2014 4:01 PM
  • Do you have a ribbon named ManageTaskPaneRibbon?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, October 20, 2014 4:04 PM
  • yes


    Darren Rose

    Monday, October 20, 2014 4:06 PM
  • fixed it!!!

    For some reason in ManageTaskPaneRibbon.Designer.Vb it was still referencing Ribbon1 in the ThisRibbonCollection section - so changed Ribbon1 to ManageTaskPaneRibon and it now works

    Partial Class ThisRibbonCollection
    
        <System.Diagnostics.DebuggerNonUserCode()> _
        Friend ReadOnly Property Ribbon1() As ManageTaskPaneRibbon
            Get
                Return Me.GetRibbon(Of ManageTaskPaneRibbon)()
            End Get
        End Property
    End Class


    Darren Rose

    Monday, October 20, 2014 4:37 PM