VB5: Fast Text File Loading
Posted on 2000-04-14
Is there a faster way, be it vb or windows api to load a file into a textbox?
Right now I'm using this code which is not even line by line and is way too slow. I don't even need to scan the text for anything in this routine...just load the entire thing as quickly as possible into a textbox.
Open tmpfile For Binary As #1
For AC = 1 To LOF(1)
Get #1, AC, Dummy
Text2.Text = Text2.Text & Asc(Dummy) & ","