VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Convert Text Document to HTML

BP  (8 Submissions)   Files/File Controls/Input/Output   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following:
Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")

Rate Convert Text Document to HTML (6(6 Vote))
Convert Text Document to HTML.bas

Convert Text Document to HTML Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters