On a similar topic ...
Does anyone know if there is a way to get delphi (D6) to search for text in text .DFM files
D6 won't report an error and will tell you it found nothing - but hasn't searched the files.
 
Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.
 
----- Original Message -----
Sent: Thursday, November 14, 2002 10:57 AM
Subject: [DUG]: Offtopic, WinXP Search and .pas files

Hi there, just a small hint I found about WinXP and its search feature.

 

I sometimes use the windows search to search through files in a dir, and search for certain text in the file, well in WinXP apparently WinXP doesn’t know to search through .pas files, or any Delphi file for that case. But there Is a small hack that can be done in the registry to allow WinXP to read through .pas files.

 

Go to the HKEY_CLASSES_ROOT\.pas

 

Add a key called PersistentHandler and change the default string to read {5e941d80-bf96-11cd-b579-08002b30bfeb}

 

Then log off and then back on and Windows will then search through these files.

 

Just thought someone out there could use this?

 

Jay

Reply via email to