Vim has code syntax highlighting already available for a huge array of programming languages, and most of them are installed by default, so in most cases you can just open up your source code files ...
VS.net will copy it to the clipboard colourised. Then you can use a sample (or PeterB's fixed version) to generate the correct HTML from the RTF clipboard data.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results