Sample: CustFind.exe Contains Context Menu Extension to Add a Menu Item to the Start/Find Menu

ID: Q238215


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API)


SUMMARY

CustFind.exe is a simple example of a shell context menu extension that adds a new menu item to the Windows Start/Find menu. This procedure is described in the following article in the Microsoft Knowledge Base:

Q135986 HOWTO: Add a Custom Find Utility to the Start Menu
CustFind.exe is a self-extracting archive that contains a Visual C++ 6.0 workspace (CustFind.dsw). This project contains the code for the context menu extension.

If you use the Visual C++ 6.0 project file included with the sample to build this project, it will automatically register the context menu extension in the post-build step.

If you want to register the context menu extension manually, simply execute the following from the command line, substituting the path to where the DLL is located for <path>:

regsvr32.exe <path>\CustFind.dll

To unregister the context menu extension and remove the menu from the Start/Find menu, execute the following from the command line, substituting the path where the DLL is located for <path>:

regsvr32.exe /u <path>\CustFind.dll


MORE INFORMATION

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

CustFind.exe
Release Date: Oct-12-1999

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words: IContextMenu IShellExtInit

Keywords : kbfile kbsample kbAPI kbContMenu kbWin32s kbDSupport
Version : winnt:
Platform : winnt
Issue type : kbhowto


Last Reviewed: November 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.