I know how to search files, but what i dont know is how to get VB.net to
Read the first line of a text file then search pc for it
Read the second line of a text file then search pc for it
and keep going till it reaches the end of the text file
then display the results in a list box and have a button that will delete the selected file in the results box

Member Avatar for iamthwee

As long as it is a simple text file and not a word document or something else, I don't see the problem here.

You just need to look at a file i/o tutorial

seems like antivirus program

yes thanks also how do i attach a statusbar(i forgot the name) to the search so it tells me when it will be done

and how do i return results into the box
ive tryed using
resultbox.items.add(My.computer.filesystem.findinfiles(blahblahblah))
but that just returns a empty result, if there is something found how do i make i put in the found files name and location

thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.