by TheMouse (3 Submissions)
Category: String Manipulation
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)
This code lets you easily create text-tables for text documents or even comment-formatting in VB. This will automatically center your text in the table. *No error checking has been added, sorry!
Inputs
Uses a public TYPE to set all required data.
Assumes
No error checking in the code. Examples of errors may be writing a line of text past the end of the table, and making the walls thicker than the table width.
Code Returns
Full table in a string that may be put into a textbox