Display outlook folder tree in a form (outlook add-in project) - c#

I want to customize the mail moving functionality of outlook. So to do that I am creating a outlook plugin and when user want to move a mail, I will show a windows form via that add-in.
In that windows form I want to display the current folder tree of outlook as in the following image (this image is from mail move functionality : mail --> right mouse click --> move -> to other folder).
Is there a way that I can get similar tree by extending already having outlook UI component
?
I am using outlook 2010.
Regards.

Have a look at Customize the built-in Outlook Select Names dialog (or any other)
It might be what you are looking for.

Related

Presence Indicator next to Outlook Contact Item

I am building a custom addin for Outlook at would like to show a colored indicator (cirlce) next to a contacts name showing whether they are at their desk, in a meeting etc.
Is this possible?
VSTO (nor Outlook) doesn't provide anything for that. The best what you can do is to develop a custom task pane or Outlook form region, see Create Outlook form regions for more information.
You may also consider developing an IM integration, see Integrating IM applications with Office.

How to create a explorer alike column in outlook having drag and drop facility?

I want to have an explorer like column (something like list of emails in inbox) that comes with Outlook. In this column I want to populate list of data, where I could drop any email from the my inbox list.
How should I proceed to achieve this, any hints OR links where I could move forward as I am new to Visual Studio development. I went through couple of tutorials where I can design a form (with an icon coming at the tool bar and it opens a different window on click), but I am wondering if it is possible to have a form visible within the same explorer window (on the right hand side ) with a flexibility to show OR hide it.
The reason I want it on the same window is because I want to achieve drag and drop functionality for my emails in inbox to my custom list data in my new column. e.g. associating email X and Y to process Z in column C.
Thanks
You need to develop an Outlook add-in with an adjacent form. Unfortunately the Outlook extensibility model doesn't provide anything for that out of the box, so you need to use Windows API functions or use third-party software to get the form shown in the Explorer window. You can read more about the adjacent forms on the Creating Adjacent Windows In Outlook page where you can also find the sample code. Or may consider using Advanced Outlook view and form regions as an alternative.
FYI Command bars were deprecated and are not used any longer. The Fluent UI is used instead.

create a outlook add-in to popup an input text field form for user info

I would like to develop an Outlook 2013 add-in that can be clicked and then comes up with a form that asks for user name, phone number etc.
After all the information entered that data can be appended to the end of the mail content as the signature.
I really don't know how to call the form with input text field when clicking the add-in.
Could you give me any ideas?
You may treat your VSTO based add-in as a regular .Net application. For example, in the Ribbon's button Click event handler you can create a new Windows Form instance and display it for users for gathering the required information. In the same way like you do this in WinForms applications.
You may find the Outlook Solutions section in MSDN helpful.

Add a form in outlook mail

I want to add a form with a submit button in it in an outlook mail which I could send to a group. Once user clicks on submit button, I want data in the form to be saved in my database. Any idea how to do?
It looks like you need to develop an Outlook add-in with a form region where you can place all your custom controls for dealing with a Db. See Walkthrough: Creating Your First Application-Level Add-in for Outlook to get started quickly. The Creating Outlook Form Regions section in MSDN provides all the required information about form regions.
You can repurpose button controls on the ribbon in Outlook. See Temporarily Repurpose Commands on the Office Fluent Ribbon. But the Send button is not located on the ribbon in Outlook inspectors. You need to handle the Send event of Outlook items instead.
Also you may consider handling the ItemSend event of the Application class. It is fired whenever an Microsoft Outlook item is sent, either by the user through an Inspector (before the inspector is closed, but after the user clicks the Send button) or when the Send method for an Outlook item, such as MailItem, is used in a program.

Outlook 2010 Add-In: How to customize "From/To/CC/Subject" pane?

I'm currently working on an Outlook 2010 Add-In with C#. Is there any way to customize the "From/To/CC/Subject" pane in Outlook 2010?
Specifically, I hope to implement the following functionality:
Add a new field below the subject of an email
Add two icons on the right of that area
I need to do that both for email previews and when reading an email in a new window. See this ImageShack pic as an example.
You cannot customize this part of the Outlook user interface - as of my researches I've done for a client who just requested that. Here's my link list (with negative results):
How to customize Email Send button in Outlook?
Add controls to existing ribbon group in Office (VSTO)
Modifying Built-in Ribbon Controls
Add a control / button inside the group - Ribbon Bar
Outlook addin to add a custom "Send" button next to existing Send button in mail compose window
how to place a button next to the send mail (system button)
Can I add a custom “Send” button to Outlook?

Categories