Is there a way to load an entire file into a textbox rather than going through a loop - LineInput one at a time?
Printable View
Is there a way to load an entire file into a textbox rather than going through a loop - LineInput one at a time?
Code:Dim buffer as string
Open File for binary as #1
buffer=space(lof(1))
Get#1,,buffer
close #1
Text1=buffer
Hi Kedaman!
That works like magic.
I was searching for this lastnight. You posted this many time, but the last couple that you posted, you did not use LOF. That was the reason it did not work for my lastnight.
Thanks.