Helo Guyz,
i am kinda newbie to vb plz could somone help me on this?
I have a file for exapmle Named "test.dat" and it contains some text like
"hello"
"world"
"ugly"
"fear" and so on now on my form i have a list box and a textbox and a command button too.

when i click on the command button the text tht is contained in the textbox is added to the listbox.

wht i want to check is when i add the text to the listbox i want to check if the text in the text box is in the file "test.dat" if not then it wont b added. i hope u understand.