OK, this should be simple and I know I'll let out a loud "D'oh!" when I see the answer, but here goes anyhow....
Using VB6 I created two forms. Form1 collects names entered via a text box and saves them to a file. Form2 loads the contents of the file into an array then -should- print the contents into a textbox.
I can print into a listBox with no trouble but all I get when I try to print to the TextBox is the last name in the file. In the design side of things, I've enabled the Multiline property of the TextBox.
I don't have the code here, but I #think# this is the loop I used to print into the textbox:
For counter = 1 to 6
txtTextBox.Text = TextArray(counter)
vbNewLine
Next counter
Thanks in advamce...
Using VB6 I created two forms. Form1 collects names entered via a text box and saves them to a file. Form2 loads the contents of the file into an array then -should- print the contents into a textbox.
I can print into a listBox with no trouble but all I get when I try to print to the TextBox is the last name in the file. In the design side of things, I've enabled the Multiline property of the TextBox.
I don't have the code here, but I #think# this is the loop I used to print into the textbox:
For counter = 1 to 6
txtTextBox.Text = TextArray(counter)
vbNewLine
Next counter
Thanks in advamce...