Why don't you first create an HTML template file with some area where to "paste" your TXT data directly from the CVI application.
This could be done using some "Tag" in the template that the CVI application could looks for and then insert the txt data in.
Another (heavy) solution could be to programmatically launch Word, ask it to load the txt file and then save it as an HTML page (you will need Word on the target machine however)
In any case, I would recommend to seriously look at XML file format.
Best regards, Philippe
Visit http://www.baucour.com