Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

VSTO for Outlook 2007 - New Features, More Fun (part 1)

Introduction

Outlook has always been a bit of a latecomer to the VSTO game, being a step behind and a version later than Word and Excel. I'm glad to see that with Outlook 2007 and VSTO 2005SE it's gotten simpler and easier to write add-ins for it. So I did.

The basic premise of this was an exercise to know more of the new Object Model enhancements in Outlook 2007, but it best serves as an example of a add-in for Outlook that uses the VSTO environment and the abilities of the new version.

The Goal

Lately I've found my inbox exploding with many new subfolders. Lots of new projects and tasks that accumulate messages and information. Since I don't subscribe (yet?) to the "Search, don't Sort" philosophy, I tend to group my correspondences into subfolders in some intricate and arcane hierarchy. Outlook 2007 gives me three methods of copying messages from my inbox to the relevant folder:

1) Rules. The problem here is that I don't always know in advance who the mail will be coming from or what will be on the subject line.

2) Drag&Drop. Necessitates keeping my folder tree open to its full depth, or else waiting for the interminable timeout until the tree expands itself. Also, no keyboard support.

3) Move To Folder dialog. This allows me select several items and move them en masse to a new folder. The problem here is that it opens a whole dialog for me to traverse (like in the Drag & Drop scenario above) until I can move my items. Move clicks, more UI to go through.

As you can see, I'm not thrilled with either one of these alternatives, so I decided to add a fourth.

The Solution

A solution that was suggested to me a while ago was, unfortunately, very hard to implement using Office 2003. The idea is to add a new menu item to an item's Context Menu in Outlook that will allow quick access to all subfolders. This will allow a two-click moving (one to raise the context menu, another to choose the destination). It also allows keyboard navigation and selection, making it easier for those times when I'm experiencing mouse fatigue.

There are some problems and limitations with my current implementation, an admittedly quick'n'dirty solution. The first is that I currently only support moving MailItems, meaning normal Outlook messages. It currently won't work for tasks, appointments or Public Folder posts. This isn't really a problem for most scenarios, but if someone needs that functionality, it should be added.

Another problem is that you can only move items to a leaf folder - if I have a Projects->Sharepoint->NewSharepointProject hierarchy, I can't copy my items to the Projects or Sharepoint folders. This is probably solvable, but I decided against confornting the Office Commandbars for now. I'll elaborate more later when I talk about the code.

The Code

This has gotten longer than I expected, so I'll be splitting the actual code of the add-in to a different post. Here's the link to the second part: The Add-in Code post.

Screenshots

(For the sake of politeness I've blacked out most of my inbox. Do not be alarmed. Don't try to adjust your sets)

Posted: Jan 03 2007, 02:59 PM by Avner Kashtan | with 48 comment(s)
Filed under: ,

Comments

Musa said:

Hi, downloaded the c# project file but it's not loading any context menu in outlook 2007.

Any idea/ thoughts?

# July 4, 2009 10:03 AM

icons set said:

 It is a pity, that now I can not express - I hurry up on job. I will be released - I will necessarily express the opinion on this question.

<a href="windows2012icons.com/.../mobile-network-icon-set-6e">mobile network icon set</a>

# October 31, 2012 9:48 AM

icon archive said:

<a href=forum.avtozvuk.kz/viewtopic.php You are mistaken. I can prove it. Write to me in PM, we will communicate.</a>

# November 4, 2012 8:07 AM

icons download said:

[url=cbcclan.site.nfoservers.com/.../viewtopic.php] It is good idea. I support you.[/url]

# November 4, 2012 2:35 PM

icon package said:

[url=realitysizzle.com/.../viewtopic.php] In it something is. Now all is clear, many thanks for the information.[/url]

# November 5, 2012 10:18 AM

iconroup.net said:

By WebOsPublisher

VNC: Hidden icon

--

VNC -- Hidden icon

Web

spinics.net

Hidden icon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

To: &lt;vnc-list@xxxxxxxxxxx&gt;

Subject: Hidden icon

From: &quot;DILATED_ONE&quot; &lt;DILATED_ONE@xxxxxxxxxxx&gt;

Date: Tue, 3 Aug 2004 10:34:21 -0700

In-reply-to: &lt;4057.12.29.16.103.1091553177.squirrel@12.29.16.103&gt;

Reply-to: &lt;DILATED_ONE@xxxxxxxxxxx&gt;

Sender: vnc-list-admin@xxxxxxxxxxx

Ok Guys,

How About being able to hide the VNC Icon,so if you have to watch your kids

or something like that?

_______________________________________________

VNC-List mailing list

VNC-List@xxxxxxxxxxx

To remove yourself from the list visit:

realvnc.com/mailman/listinfo/vnc-list

Follow-Ups:

RE: Hidden icon

From: DILATED_ONE

Prev by Date:

VNC over wifi

Next by Date:

RE: Hidden icon

Previous by thread:

VNC over wifi

Next by thread:

RE: Hidden icon

Index(es):

Date

Thread

[Books]

[Home]

[Photo]

[Yosemite]

[Hot Springs]

[VNC Home]

[PDAs]

[Open Source Now]

[Epson Inkjet]

# December 9, 2012 5:53 AM

Bean said:

I hardly leave a response, however after reading through some of the responses on VSTO for Outlook 2007 - New Features, More Fun (part 1)

- Miscellaneous Debris. I do have 2 questions for you if it's allright. Could it be simply me or does it look like like a few of the comments look like they are written by brain dead individuals? :-P And, if you are writing on other sites, I'd like to follow everything fresh you have to post.

Would you list of all of all your social networking sites like your twitter feed,

Facebook page or linkedin profile?

# January 28, 2013 3:49 AM

Beamon said:

Wonderful goods from you, man. I have understand your stuff previous to and you're just extremely great. I actually like what you've acquired here, really like what

you are stating and the way in which you say it.

You make it entertaining and you still care for to keep it

wise. I can't wait to read far more from you. This is really a wonderful site.

# January 30, 2013 6:25 AM

Hilton said:

Its not my first time to pay a quick visit this web page, i am visiting this web site dailly and take nice information from here all the time.

# January 30, 2013 9:26 AM

Victor said:

Very nice article, totally what I wanted to find.

# February 4, 2013 3:01 AM

Zavala said:

Hey are using Wordpress for your blog platform?

I'm new to the blog world but I'm trying to get started and set up my own.

Do you require any html coding knowledge to make your own blog?

Any help would be greatly appreciated!

# February 4, 2013 10:37 PM

Golding said:

What's up all, here every person is sharing such familiarity, therefore it's good to read this website, and I used to go to see this weblog everyday.

# February 9, 2013 5:10 AM

Avalos said:

Hello there! I know this is kinda off topic but I was wondering if you knew where I

could locate a captcha plugin for my comment form?

I'm using the same blog platform as yours and I'm having trouble finding

one? Thanks a lot!

# February 22, 2013 10:07 AM

Pinkerton said:

Hi would you mind sharing which blog platform you're using? I'm planning to start my own

blog soon but I'm having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I'm looking for something unique.

P.S Sorry for being off-topic but I had to ask!

# February 22, 2013 10:55 AM

Levi said:

You need to take part in a contest for one of the highest quality blogs on

the internet. I'm going to highly recommend this blog!

# February 22, 2013 11:02 AM

Mojica said:

As the admin of this website is working, no question very quickly it will be famous, due

to its quality contents.

# February 22, 2013 12:28 PM

Rawlins said:

It's very simple to find out any matter on net as compared to books, as I found this paragraph at this site.

# February 22, 2013 12:40 PM

Kozlowski said:

I am in fact pleased to glance at this weblog posts which consists of

tons of useful information, thanks for providing these kinds of information.

# February 22, 2013 12:55 PM

Gee said:

Very nice write-up. I certainly appreciate this site. Continue the good work!

# February 22, 2013 1:04 PM

Light said:

I don't even know the way I stopped up here, however I thought this put up was great. I don't understand who you're however definitely you are going to a well-known blogger in the event you are not already. Cheers!

# February 22, 2013 1:53 PM

Purdy said:

This is a good tip especially to those new to the blogosphere.

Short but very accurate information… Appreciate your sharing this one.

A must read post!

# February 22, 2013 5:55 PM

Workman said:

I visited various websites however the audio quality for audio songs existing at this web site is truly

superb.

# February 22, 2013 6:52 PM

Zimmer said:

I was excited to discover this site. I need to to thank you

for your time for this wonderful read!! I definitely savored every part of it and

I have you saved as a favorite to see new information on your

blog.

# February 22, 2013 7:29 PM

Almanza said:

I got this web page from my pal who shared with

me concerning this web page and at the moment this time I

am visiting this website and reading very informative articles at this place.

# February 22, 2013 9:22 PM

Ocampo said:

Howdy! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in

a community in the same niche. Your blog provided us valuable information to work

on. You have done a marvellous job!

# February 22, 2013 9:31 PM

Bandy said:

Hello are using Wordpress for your blog platform?

I'm new to the blog world but I'm trying to get started and create my own.

Do you require any coding knowledge to make your own blog?

Any help would be greatly appreciated!

# February 22, 2013 10:58 PM

Gordon said:

I was able to find good advice from your content.

# February 22, 2013 11:07 PM

Paulk said:

I am extremely impressed with your writing skills as well

as with the layout on your weblog. Is this a paid theme or

did you customize it yourself? Anyway keep up

the excellent quality writing, it's rare to see a nice blog like this one nowadays.

# February 22, 2013 11:40 PM

Paxton said:

Write more, thats all I have to say. Literally, it seems as though you relied on the

video to make your point. You obviously know what youre talking about, why throw away your intelligence on just

posting videos to your weblog when you could be giving us something enlightening to read?

# February 23, 2013 12:59 AM

Fry said:

I read this post completely about the resemblance of latest and previous technologies, it's amazing article.

# February 23, 2013 1:07 AM

Mclean said:

What's Going down i'm new to this, I stumbled upon this I've found It positively useful and it has aided me out loads. I hope to contribute & help other customers like its helped me. Great job.

# February 23, 2013 1:32 AM

Bain said:

I like what you guys are up too. Such clever work

and reporting! Keep up the very good works guys I've incorporated you guys to our blogroll.

# February 23, 2013 6:15 AM

Godfrey said:

Hey just wanted to give you a quick heads up.

The words in your content seem to be running off the screen in Ie.

I'm not sure if this is a format issue or something to do with browser compatibility but I figured I'd post to let you know.

The design and style look great though! Hope you get the issue resolved soon.

Kudos

# February 23, 2013 6:34 AM

Minton said:

Pretty great post. I simply stumbled upon your blog and wished to say that I've really enjoyed browsing your blog posts. In any case I will be subscribing to your feed and I'm

hoping you write again very soon!

# February 23, 2013 6:42 AM

Daughtry said:

Having read this I thought it was really informative. I appreciate you spending some

time and effort to put this article together.

I once again find myself spending way too much time both reading and leaving comments.

But so what, it was still worthwhile!

# February 23, 2013 7:21 AM

Barela said:

You can definitely see your expertise within the article you write.

The arena hopes for even more passionate writers like you who aren't afraid to say how they believe. At all times follow your heart.

# February 23, 2013 7:57 AM

Fletcher said:

Fantastic goods from you, man. I've understand your stuff previous to and you're just too great.

I really like what you've acquired here, certainly like what you are stating and the way in which you say it. You make it enjoyable and you still care for to keep it smart. I can not wait to read much more from you. This is really a terrific website.

# February 23, 2013 8:44 AM

Fitzsimmons said:

I read this paragraph completely regarding the resemblance of

latest and earlier technologies, it's remarkable article.

# February 23, 2013 9:30 AM

Barnett said:

It's a shame you don't have a donate button! I'd certainly donate to this outstanding blog! I guess for now i'll settle for book-marking and adding your RSS

feed to my Google account. I look forward to brand new updates and will share this website with my

Facebook group. Talk soon!

# February 23, 2013 11:31 AM

Hills said:

I'll immediately grab your rss feed as I can't to find your email

subscription hyperlink or newsletter service. Do you

have any? Please permit me recognise so that I

may just subscribe. Thanks.

# February 23, 2013 12:14 PM

Osborn said:

I'm amazed, I must say. Rarely do I come across a blog that's both equally educative and amusing, and without a doubt, you've hit the nail on the head. The problem is something not enough people are speaking intelligently about. I'm very happy I stumbled across this during my hunt for something

regarding this.

# February 23, 2013 12:21 PM

Guy said:

I always emailed this weblog post page to all my associates, for the reason that if like to read it after that my friends will too.

# February 23, 2013 12:26 PM

Mulligan said:

Hi there, just became alert to your blog through Google,

and found that it's really informative. I'm gonna watch out

for brussels. I'll appreciate if you continue this in future. Lots of people will be benefited from your writing. Cheers!

# February 23, 2013 1:52 PM

Tribble said:

Pretty section of content. I just stumbled upon your site and

in accession capital to assert that I acquire in fact enjoyed account

your blog posts. Anyway I will be subscribing to your augment and even I achievement

you access consistently fast.

# April 15, 2013 2:58 AM

Kirk said:

It's difficult to find well-informed people on this topic, however, you seem like you know what you're talking about!

Thanks

# April 15, 2013 4:13 AM

Wooten said:

always i used to read smaller posts that also clear their

motive, and that is also happening with this article which I am reading at this time.

# April 16, 2013 10:00 PM

Ralston said:

I always spent my half an hour to read this blog's articles or reviews daily along with a mug of coffee.

# April 21, 2013 7:30 AM

Bowser said:

Very quickly this site will be famous amid all blogging and site-building people, due to it's fastidious articles or reviews

# May 10, 2013 4:18 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)