|
-
Nov 6th, 2000, 09:41 AM
#1
Thread Starter
Lively Member
I have a vb application that will go out and read a log\txt file sitting on a remote server. The file size is approximately 500 bytes so it is relatively small. The problem I am having is that it can take in upwards of 1 minute to read line by line of the file and return it back to a vb window on the client. My question is how can I speed this process up. Here is my code below:
CommonDialog.FileName = "\\<unc file path>\log.txt"
Open CommonDialog.FileName For Input As #1
Do Until EOF(1)
Line Input #1, LineOfText$
AllText$ = AllText$ & LineOfText$ & Wrap$
Loop
txtLog.Text = AllText$
Any suggestions would be greatly appreciated!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|