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



The information in this article applies to:

  • Microsoft Win32 Application Programming Interface (API)

This article was previously published under Q238215

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:

135986 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:
Release Date: May-25-2000

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Modification Type:MinorLast Reviewed:8/30/2004
Keywords:kbAPI kbContMenu kbfile kbhowto kbSample KB238215 kbAudDeveloper