Windows Explorer Preview Pane for .vb files

I love using the Preview Pane in Windows Explorer to quickly preview file contents:


Usually, to enable this preview for a file extension I just open regedit, go to HKEY_CLASSES_ROOT –> .xxx (where xxx is the extension you’re interested in), and add a string key called PerceivedType with value of “text”:

However for some reason it didn’t work for .vb files. After some web searching, one solution I found that worked for me is to add the preview handler GUID explicitly under a “shellex” key:


Windows Registry Editor Version 5.00