Help me for my hobby (statistical research), please

I have a file in .txt containing about 900 millions of these numbers (max until to 400) in lines as :
115 99 243 355 400
223 399 344 378 399
…………………………………..
113 78 344 676 233
I must search if 4 or 5 numbers of my line, given exist in file .txt and in what position are.
This is my line given: 348 344 12 343 99

My seriation (line) of 5 numbers given often changes and when I change my seriation I would know new position in the file.
My old code in Qbasic (years 1983) is strongly slow. I am searching a new and good algorithm in vb5 ( say that is better) for a code more speed.
Excuse me if my English is not perfect.
Thanks a lot
Peppos