Preview C#, Visual Basic, and C++ Source Code files Direct in Attachments Without Opening
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. 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 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.
By default, Windows Vista and Office 2007 comes with Microsoft Windows TXT Preview Handler, which is the preview handler that renders .txt text files. 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.
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. 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. 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. Then double click on the .reg registration file to merge or insert the registry value into Windows registry.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.cs\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}”
[HKEY_CLASSES_ROOT\.vb\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}”
[HKEY_CLASSES_ROOT\.cpp\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@=”{1531d583-8375-4d3f-b5fb-d23bbd169f22}”
[HKEY_CLASSES_ROOT\.h\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@=”{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.
Related Articles
- Download .cs, .vb, .js and .sql Files Code Preview Handler for Vista and Outlook 2007
- Free Download: Preview Handler Association Editor to Group Same Type of File with Different Extensions
- Free Download: Vista and Office 2007 Preview Handler Pack to Support More File Types
- Facebook Source Code Leaked
- Vista Brute-Force Keygen GUI 0.1 with Source Code
- Adobe PhotoShop (PSD) Preview Handler Free Download
- Foxit PDF Preview Handler Free Download
- How to Fix COM Surrogate Problem When Opening Video Format Files
- Recover Files with Previous Versions (Volume Shadow Copy) in Vista Home Basic and Premium with ShadowExplorer
- BitLocker, FileVault, dm-crypt, and TrueCrypt Encryption Key Crack via DRAM Cold Boot Attack with Program Source Code Download









































