Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 128
  • Last Modified:

Replacing Windows Find

I want to replace Microsoft Windows 95 (and 98 and NT)'s find functions... any ideas?
0
technologist
Asked:
technologist
  • 4
  • 3
  • 2
  • +2
1 Solution
 
BoRiSCommented:
technologist

When you say replace, do you mean when the find dialog is callred yours is shown instead or replace the find functions and API's

Later
BoRiS
0
 
technologistAuthor Commented:
Yes, that's exactly what I mean. Still any ideas?
0
 
zacCommented:
technologist, which one?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
technologistAuthor Commented:
Start - Find - Files (or whatever it's called) and
right mousebuttonmenu - Find (when clicking on a folder)

0
 
bruintjeCommented:
Hi technologist,

I've recently answered a question to find a certain word.
Could write it simply in a dialog. With a bit more work it could be written as an iterator searching on certain variables you're given in.

Let me know if you're interested.
Bruintje.
0
 
technologistAuthor Commented:
It's not HOW to find I want know, it's HOW I can replace the find function in Win95/98/NT so that when the user selects "Find files" my program starts instead.

Still any ideas?

// Technologist
0
 
BoRiSCommented:
technologist

I can give you the code to execute the find dialog maybe you can trap it from there and execute your app instead, let me know...

Later
BoRiS
0
 
technologistAuthor Commented:
Boris,

Sure, why not. Please send it to boivie@iname.com and I'll take a look at it. Or just publish it here.

I've found a few registry keys connected some cryptic codes, and I guess that's the way to solve the problem. I'll try with a registry monitor later. I must download one first...

TIA

Technologist
0
 
BoRiSCommented:
technologist

here is the code to execute the find dialog

procedure TForm1.Button1Click(Sender: TObject);
 begin
   with TDDEClientConv.Create(Self) do begin
     ConnectMode := ddeManual;
     ServiceApplication := 'explorer.exe';
     SetLink( 'Folders', 'AppProperties');
     OpenLink;
     ExecuteMacro('[FindFolder(, C:\Windows)]', False);
     CloseLink;
     Free;
   end;
 end;

Later
BoRiS
0
 
bruintjeCommented:
Hi Technologist,

Did you get it any further yet found a link that will get your proggie in the startup menu. Didn't get it to work for myself but it maybe a entry point.

Let me know if you're interested(cause I've to look it up on another PC).
:O)
B.
0
 
MadshiCommented:
You can replace the find from the directories context menu by manipulating the registry:

Delete the whole key "HKEY_CLASSES_ROUTE\directory\shell\find\ddeexec" and change the "(default)" string in "HKEY_CLASSES_ROUTE\directory\shell\find\command" to your programs path.

You can do the same with "HKEY_CLASSES_ROUTE\drive\...".

Don't know how to manipulate the start menu's find...  :-(

Regards, Madshi.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now