squirleegirl
Programmer
Anybody have any suggestions about a Run-Time 2176 - The setting for this property is too long error?
I've got a drop-down box that users pick a test from. They click the submit button and the results of the test show in the text box. The results are in a plain text file to begin with. Works fine for most of the text files, but a few are larger than others and it is on those that I get this error.
Here is the code
Text217.SetFocus
filenumber = FreeFile
Open "my file.txt" For Input As filenumber
length = LOF(filenumber)
Text217.Text = Input$(length, filenumber)
The last line is the line that gets flagged if I choose to debug.
Thanks in advance for your help!
Squirleegirl
I've got a drop-down box that users pick a test from. They click the submit button and the results of the test show in the text box. The results are in a plain text file to begin with. Works fine for most of the text files, but a few are larger than others and it is on those that I get this error.
Here is the code
Text217.SetFocus
filenumber = FreeFile
Open "my file.txt" For Input As filenumber
length = LOF(filenumber)
Text217.Text = Input$(length, filenumber)
The last line is the line that gets flagged if I choose to debug.
Thanks in advance for your help!
Squirleegirl