Tuesday, October 22, 1996

Html2Cgi

If you are a VB programmer writing CGI programs then you know how tedious that can be. If you are using Bob Denny's CGI32.BAS for Website or any 32 bit derivative that uses STDIN/STDOUT (Microsoft's © IIS) and requires you to access a Send procedure for CGI output then this VB Add-In can save you up to literally hundreds of hours and their associated costs.

In CGI32.BAS and it's derivatives you must create procedures that call the Send subroutine. The Send subroutine uses a string for its only argument. Prior to this you either had to have an open HTML source file from which you had to cut and paste or you had to actually create the output in the VB environment. In either case it's one line at a time and if you are as lazy as I am you dread looking forward to this.

However there now exists Html2Cgi. A VB Add-In that allows you to take existing HTML documents and write them as procedures to the clipboard, ready for insertion into your VB-CGI program where ever you wish. An HTML document is of course only text so you can also do this with any text file.

Now you can create (or use an existing one) an HTML document in your favorite HTML editor. After saving it to disk and while in the VB environment you can capture it to the clipboard created as a procedure of your own design. Make it as a Sub or Function, Public or Private, using the line length of your choosing and adding appropriate quotes. It's now ready to be inserted at the current cursor position of the active window.

Viola! Instant procedures.

What could be easier? Hours turn into seconds. Html2Cgi converts almost all HTML elements except for graphics (graphics in CGI32.BAS are inserted using redirection). What you saw prior to creating your procedure is what you get after conversion. In nearly all cases no modifications are necessary.

Why continue to beat your head against the wall?

Pickup a fully functional evaluation copy today at:

ftp://ftp.syix.com/pub/Html2Cgi_Setup.exe