Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7524055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:58:48+00:00 2026-05-30T02:58:48+00:00

I frequently sent or receive mail with source code attachments (.c, .cpp, .h, .js,

  • 0

I frequently sent or receive mail with source code attachments (.c, .cpp, .h, .js, etc). It would be easier if I could preview these files in Outlook, so I do not need to open in another application.
Preferably, the preview would include syntax highlighting, similar to Visual Studio.
Is there a Visual Studio preview plugin for Outlook?

I use Visual Studio 2010 pro and MS Office 2007 Pro+

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:58:50+00:00Added an answer on May 30, 2026 at 2:58 am

    You have (2) options here – you can roll your own or leverage an existing preview handler.

    Existing Preview Handlers

    Windows Preview Handler Pack: handles aspx, cs, css, js, sql, vb, etc.


    Custom Preview Handlers

    You should checkout the Preview Handler Framework used by both Windows Shell and Office Outlook. There is a great walkthrough and sample code for building managed previewers in the January 2007 edition of MSDN magazine.

    Channel9 has a video presentation describing the managed preview handler.

    The Preview Handler Editor will show you what extensions are associated to what previewers.

    Preview Handler Registry Configuration describes the registry key configuration used when looking for preview handlers.

    Once you have the hook for the previewer in place – it would be up to you how you handle syntax highlighting, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Frequently I come across the following statements in C/C++ source code: $Id: lzio.c,v 1.24
I frequently find myself writing code like this: List<int> list = new List<int> {
I frequently must correct the following rails code: assert_equal value, expected The two arguments
I frequently see a code snippet like this in class instance methods: static NSString
I frequently need to make many replacements within files. To solve this problem, I
I frequently receive this error: Plug-in 'org.maven.ide.eclipse.refactoring' contributed an invalid Menu Extension (Path: 'org.eclipse.jdt.ui.refactoring.menu'
Frequently, I've dug into apropos and docs looking for something like the following only
I frequently work with multiple instances of Visual Studio, often working on different branches
I frequently have problems dealing with DataRows returned from SqlDataAdapters . When I try
I frequently start with a simple console application to try out an idea, then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.