Program for Grep search

Thread Solved

Join Date: Aug 2006
Posts: 2
Reputation: leelapadmaja is an unknown quantity at this point 
Solved Threads: 0
leelapadmaja leelapadmaja is offline Offline
Newbie Poster

Program for Grep search

 
0
  #1
Aug 10th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 71
Reputation: Micheus is an unknown quantity at this point 
Solved Threads: 4
Micheus's Avatar
Micheus Micheus is offline Offline
Junior Poster in Training

Re: Program for Grep search

 
0
  #2
Aug 14th, 2006
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.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Pascal and Delphi Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC