i usually use grep for this.  
 
also the text editor i use in windows (UEdit) has this kind of regex search.
 
One thing to watch out for is that some of your DFM's haven't drifted
out of "text" format.   This seems to happen sometimes for no apparent
reason (and can interfere with this kind of search).
 
 
----- Original Message -----
Sent: Wednesday, 14 August 2002 08:04
Subject: [DUG]: Search

Has anyone else had problems (hopefully found a solution) with the search Find in Folders when looking for Text in DFM's ?
 
I have tried searching for DataSource names in DFM's but Delphi (D6) tells me it can't find any...
All my DFM's are Text.
I have specified Drive\Directory\*.*
I have tried Drive\Directory\*.DFM
I even tried specifying the filename C:\MyDir\MyFile.DFM
 - this reported "System Error: Code 2" could not find the specified file.
 - I get this error weather or not I am viewing the file in Delphi
 
Anyone else found this - I need a way to quickly/easily find, by name, where DataSources are used.
 
TIA
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.

Reply via email to