Hello, I'm working on a little tool to make work a little bit easier at my job.
I would like to make a program that searches a file for lines containing the word you write. Preferably live, while writing.
For example a file with:
STO - Stockholm (Sweden SE)
Stockholm - STO (Sweden SE)
ARN - Arlanda (stockholm, STO, Sweden SE)
Arlanda - ARN (stockholm, STO, Sweden SE)
UME - Umea (Sweden SE)
Umea - UME (Sweden SE)
And if you write: Ar
it would show the lines:
Arlanda - ARN (stockholm, STO, Sweden SE)
ARN - Arlanda (stockholm, STO, Sweden SE)
Any tips? As it is now, I have a combo box (with the lines) and an edit box (that you write in).
It's live but it only shows one line, and you have to be completely accurate, and the word has to be in the beginning of the line.