Click here to Skip to main content
Click here to Skip to main content

Find Target Shell Extension

By , 3 Feb 2003
 

Find Target menu selected - findtarget.gif

Introduction

This shell extension will add a new option to the Context menu of .lnk (Shortcut) files. I've always been annoyed that to Perform a find target, you have to right click properties, then click find target. There doesn't seem to be a direct api call that simulates what the shell does so I've hunted around, and come up with this, which uses a CreateProcess, ShellExecute, and didn't seem to highlight the file.

Background

After reading Michael Dunn's articles on shell extension (well the first couple so far), I took the examples and came up with this. http://www.codeproject.com/shell/shellextguide1.asp

Using the code

To use the extension, either just regsvr32 it, or Recompile and Register.

Points of Interest

There is a quirk still in here that sometimes the selected file doesn't highlight. (Anyone with any clues, assistance would be greatly appreciated)

History

  • 08-02-2003 Correction for incorrect registry entry.
  • 04-02-2003 Initial release.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Paul Farry
Architect Idealpos Solutions
Australia Australia
Member
After a lengthy stint at a Retailer writing Point of Sale applications and related internal systems.
 
I now work for a Software Company writing Point of Sale applications and related internal systems.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralGreat Assisting Toolmemberchessgod10110 Jan '10 - 8:23 
QuestionHow to install in 3 steps!membercherwally19 Sep '09 - 4:29 
Generaloh! thank you Paul!!!!memberbbsoft3 Aug '09 - 15:53 
Generalcontext not working solvedmemberalxnto22 Jan '09 - 9:39 
Generalxp64memberTilo Kühn9 May '08 - 1:40 
GeneralGreat Toolmembercharlie markwick8 Dec '07 - 21:17 
GeneralDifferent behaviour on expanded start menu to s/c's in an explorer panememberdalchina24 Aug '07 - 16:13 
QuestionHow to get the route of ShortcutmemberYao11309 Dec '04 - 15:44 
Generalhigfails if the target directory is openmemberMartijn1 Oct '03 - 1:59 
Generala very valuable toolmemberBill Hart26 Aug '03 - 16:52 
Generalmuch easier/more reliable way to do thismemberchrisg23 Mar '03 - 12:20 
GeneralRe: much easier/more reliable way to do thismemberPaul Farry23 Mar '03 - 15:01 
GeneralRe: much easier/more reliable way to do thismemberchrisg26 Mar '03 - 16:39 
GeneralRe: much easier/more reliable way to do thismemberLupinTaiwan13 Mar '08 - 6:46 
Generalnot display in context menumemberbillhao4 Feb '03 - 4:59 
GeneralRe: not display in context menumemberTak4 Feb '03 - 9:05 
GeneralRe: not display in context menumemberbillhao4 Feb '03 - 20:24 
the same, not displayed.
I am using win2000 pro, what is your system?
 
--------------------------------------
e-mail: billhao@hotmail.com
MSN Messenger: billhao@hotmail.com
http://www.minivoice.com
GeneralRe: not display in context menumemberPaul Farry7 Feb '03 - 11:57 
GeneralRe: not display in context menumemberbillhao8 Feb '03 - 1:42 
GeneralRe: not display in context menumemberBill Hart26 Aug '03 - 16:41 
GeneralRe: not display in context menumemberPaul Farry5 Feb '03 - 21:21 
GeneralRe: not display in context menumemberPaul Farry7 Feb '03 - 3:01 
GeneralRe: not display in context menumemberbillhao7 Feb '03 - 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 4 Feb 2003
Article Copyright 2003 by Paul Farry
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid