In order to find whether a particular item exists in a ListBox, SendMessageString can be used like this:
lngRetValue = SendMessageString(ListBox1.hWnd, LB_FINDSTRINGEXACT, -1&, "text to be compared")
In the same way, can SendMessageString be used to find whether a particular text exists in a text file? If so, how?
Thanks,
Arpan
