Are you taking into considerations about the extra [....] lines in the file?
[SendKey]
[HotKey]
[Activate]
When you first open your input file and do your first Input #1, tooresBind1
statement your first line that actually is read is [SendKey].
I always use Line Input #1 rather than Input #1. Not sure what the dufference is but I don't think it has to do with your problem but I do think you need to consider the extra lines.
Also I see that in your loop you are reading in 6 lines per itteration through the loop but your file is not in multiples of 6. Don't quite understand your thinking here.
Your input file has 63 lines.
You loop 10 time reading in 60 records
Then it starts to loop again; the 11th time
It reads in 3 more records
This is your 63 lines
Then it tried to read one more....this is your Input Past EOF error
So, you need to allow for the [....] lines and you need to make sure your number of lines to process in the file are equal in multiples of the number of lines you process each time through the loop.




Reply With Quote