How to use with VB

Aug 13, 2011 at 9:53 PM

I am trying to get this to work in Visual Studio 2010 as an addition to a project in VB. Every time I try to run my project  VS seems to forget that I have added the DLL as a reference as well as ignores the "Import ColorCode" statement.

Can you provide precise instructions for adding this to a VB 2010 project?

Thank you


Oct 30, 2011 at 6:39 AM

I have got it working in VB, usesing VS 2010, I an not sure why you are having problems, maybe try removing ref and re adding and rebuild project

Dim sourceCode As String = My.Resources.Resources.IHttpModule

Dim coloredCode As ColorCode.CodeColorizer = New ColorCode. 



Dim colorizedSourceCode As String = coloredCode.Colorize(sourceCode, ColorCode.Languages