944,052 Members | Top Members by Rank

Ad:
Aug 10th, 2006
0

Program for Grep search

Expand Post »
Can we write a program for GREP SEARCH in particular file??


procedure TForm1.DriveComboBox1Change(Sender: TObject);
begin
DirectoryListBox1.Drive := DriveComboBox1.Drive;
FileListBox1.Drive := DriveComboBox1.Drive;
FileListBox1.Directory := DirectoryListBox1.Directory;
end;

procedure TForm1.DirectoryListBox1DblClick(Sender: TObject);
begin
FileListBox1.Directory := DirectoryListBox1.Directory;
end;


I wrote a program for the selection of file like this.

Now I want to search for a particular word like class in that selected file automatically.(Not manually)

Can we do this one??

If it is possible pls send me the reply..

Thabks in advance..
Leela.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
leelapadmaja is offline Offline
2 posts
since Aug 2006
Aug 14th, 2006
0

Re: Program for Grep search

Quote ...
Now I want to search for a particular word like class in that selected file automatically.(Not manually)

Can we do this one??
Take a look in this other post. If it ok, You will must be pass the selected file name to SearchingInFile procedure and make the changes that You need.
Reputation Points: 10
Solved Threads: 4
Junior Poster in Training
Micheus is offline Offline
72 posts
since Jun 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: Reading pascal file and searching for a particular word in that file
Next Thread in Pascal and Delphi Forum Timeline: Help on using FileListBox





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC