Browse DevX
Sign up for e-mail newsletters from DevX

Code Download

VB-to-HTML Component

Date: Jan 1, 2003
Author: Kevin Gay
Description: 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.

Click here to download the file.

Thanks for your registration, follow us on our social networks to keep up-to-date