Preview C#, Visual Basic, and C++ Source Code files Direct in Attachments Without Opening预览C #中, Visual Basic和C + +源代码文件直接在附件没有开放
If you’re the developers or programmers, you can have the ability to able to fast preview the contents or the source code contained inside a source code file, without having to open up the file in resource hungry default viewer Visual Studio to view it, especially if you receive the source code file attachment in email.如果您是发展商或程序员,您可以有能力能够快速预览的内容或源代码中所载的内源代码文件,而不需要打开该文件在资源饿预设观众的Visual Studio ,以查看它,特别是如果您收到的源代码文件附件的电子邮件。 In Windows Vista and Microsoft Office Outlook 2007, the built-in preview feature or previewers is able to render and show the contents for most common file types, and it’s also possible to extend the preview capability to unsupported file types with在Windows Vista和Microsoft Office Outlook 2007中,内置在预览功能或previewers是能够提供和显示的内容为最常见的文件类型,它也有可能延长预览能力不受支持的文件类型 custom preview handlers add-ins自定义预览处理增益集 . 。 However, if you just want to be able to preview C#, Visual Basic, and C++ code files (with .cs, .vb, .cpp, and .h extensions), here is a simple trick to enable the preview handlers for these source files without any installation.不过,如果你只是希望能够预览C #中, Visual Basic和C + +代码文件( 。政务司司长。 VB的, 。柬埔寨人民党,何世扩展) ,这里是一个简单的伎俩,使预览处理这些来源档案,不需任何安装。
By default, Windows Vista and Office 2007 comes with Microsoft Windows TXT Preview Handler, which is the preview handler that renders .txt text files.默认情况下, Windows Vista和Office 2007附带的Microsoft Windows txt预览处理,这是预览处理,使其为。 txt文本文件。 However, this Windows TXT Preview Handler can handle more file types than it’s actually registered to support by default, as nothing in this preview handler that restricts it to working with just a text file with .txt extension, and prevents it to working from text files with other extensions.不过,这个Windows txt预览处理程序可以处理更多的文件类型比它的实际登记的支持默认情况下,由于没有在此预览处理,限制它的工作与刚才的文本文件。 txt扩展,并防止它的工作从文本文件与其他扩展。
As you know, C#, Visual Basic, and C++ source code files in .cs, .vb, .cpp and .h extensions are also a text file, which is fully supported to render by Windows TXT Previewer Handler.如你所知, C #中, Visual Basic和C + +源代码的档案。政务司司长。 VB的, 。柬埔寨人民党和何世扩展也是一个文本文件,这是完全支持,使由Windows txt previewer处理。 However, Windows Vista and Outlook 2007 don’t register the association of these file types to be rendered for previewing by Windows TXT Preview Handler by default.不过, Windows Vista和Outlook 2007不注册协会,这些档案类型提供预览由Windows txt预览处理默认情况下。 To enable the support of preview for file with extension of .cs, .vb, .cpp and .h, simply copy and paste the below text into a text editor, and save it as a file name with .reg extension.使支持预览文件的扩展。政务司司长。 VB的, 。柬埔寨人民党和。 h后,简单地复制并粘贴到下面的文本到文本编辑器,并将其保存为一个文件名。 reg扩展名。 Then double click on the .reg registration file to merge or insert the registry value into Windows registry.然后双击就的。 reg注册文件,以合并或插入注册表值到Windows注册表中。
Windows Registry Editor Version 5.00 Windows注册表编辑器5.00版
[HKEY_CLASSES_ROOT\.cs\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}] [ hkey_classes_root \ 。政务司司长\ shellex \ ( 8895b1c6 - b41f - 4c1c - a562 - 0d564250836f ) ]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}” @ = “ ( 1531d583 - 8375 - 4d3f - b5fb - d23bbd169f22 ) ”
[HKEY_CLASSES_ROOT\.vb\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}] [ hkey_classes_root \ 。 VB的\ shellex \ ( 8895b1c6 - b41f - 4c1c - a562 - 0d564250836f ) ]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}” @ = “ ( 1531d583 - 8375 - 4d3f - b5fb - d23bbd169f22 ) ”
[HKEY_CLASSES_ROOT\.cpp\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}] [ hkey_classes_root \ 。柬埔寨人民党\ shellex \ ( 8895b1c6 - b41f - 4c1c - a562 - 0d564250836f ) ]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}” @ = “ ( 1531d583 - 8375 - 4d3f - b5fb - d23bbd169f22 ) ”
[HKEY_CLASSES_ROOT\.h\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}] [ hkey_classes_root \何世\ shellex \ ( 8895b1c6 - b41f - 4c1c - a562 - 0d564250836f ) ]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}” @ = “ ( 1531d583 - 8375 - 4d3f - b5fb - d23bbd169f22 ) ”
Once registered, you can now view or preview the source code directly from Outlook 2007 even if it’s send as the e-mail attachments, without the need to open to source code file in Visual Studio or other text editor.一旦注册,现在,您可以查看或预览源代码直接从Outlook 2007 ,即使它的发送作为电子邮件附件,而不需要开放的源代码文件在Visual Studio或其他文本编辑器。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007下载。政务司司长。 VB的, 。 js和。的SQL文件代码预览处理为Vista和Outlook 2007
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types免费下载: Vista和Office 2007预览处理Pack ,以支持更多的文件类型
- Free Download: Preview Handler Association Editor to Group Same Type of File with Different Extensions免费下载:预览处理协会编辑组相同类型的文件与不同的扩展
- Adobe PhotoShop (PSD) Preview Handler Free Download的Adobe Photoshop ( PSD )的预览处理免费下载
- Foxit PDF Preview Handler Free Download foxit PDF格式预览处理免费下载
- Enable Previews in Windows Vista Folders with Preview Pane使预演在Windows Vista中文件夹与预览窗格
- Reset “Always Warn Before Previewing This Type of File” Setting in Outlook 2007重置“ ,始终警告之前,预览这种类型的文件”设置在Outlook 2007
- Modify Vista and Office 2007 File and Attachment Preview Handlers to Support Foxit PDF Reader修改Vista和Office 2007文件和附件预览处理,以支持foxit PDF阅读器
- How to Enable or Disable Media and Video Thumbnail Preview in Windows XP如何启用或禁用媒体和视频缩略图预览在Windows XP
- Microsoft Visual Studio 2008 Trial Download微软的Visual Studio 2008试用版下载


















