WDS 2.6.5 trying to "download" file like it is internet explorer...

When I search my computer using WDS 2.6.5, and turn up .h and .cpp files on my local HDD, when I click on them they don't show up in the preview pane like .txt files do - instead I get a dialog titled "File Download" asking me if I want to open or save them. It has a checkbox titled "Always ask before opening this type of file.". You've seen this dialog when you're using IE. If you choose to open the file, DevStudio gets launched and the file is shown. Ahhhh! Just show me the file in the preview pane. Why do my .h and .cpp files behave this way? How do I change this behavior?

Thanks!

[634 byte] By [wstark] at [2007-12-24]
# 1

Found the problem:

Need a string reg key HKLM\.cpp\Content Type = "text/plain" to get IE (apparently responsible for the preview pane) to display a file as text. Somehow these keys for .cpp and .h got deleted from my machine.

wstark at 2007-10-8 > top of Msdn Tech,Windows Search Technologies,Windows Desktop Search Help...