devxlogo

VB-to-HTML Component

VB-to-HTML Component

This component is intended to take valid Visual Basic source code an convert it to properly colorized HTML with procedure seperators. The input can either be a file of any type, or a string of VB code. The output will be a completely self contained HTML string that you can write to file or use to display on the screen. The HTML uses embedded Cascading Style Sheets so the resulting HTML is smaller and more customizable. The component is written in VC++ using ATL COM, so it is small and very fast. The zip file includes a couple of sample projects: a basic test application and a projectthat puts the component into an Add-In for the VB IDE which puts a “Save As HTML” menu button in VB’s main File menu and gives you an easy way to save the current code window as HTML.

devx-admin

Share the Post: