Microsoft KB Archive/238215

{|
 * width="100%"|

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

 * }

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  :

"regsvr32.exe \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  :

"regsvr32.exe /u \CustFind.dll"

MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

"CustFind.exe" Release Date: May-25-2000

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

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

Additional query words: IContextMenu CustFind IShellExtInit

Keywords : kbfile kbsample kbAPI kbContMenu kbOSWin32s kbDSupport

Issue type : kbhowto

Technology : kbAudDeveloper kbWin32sSearch kbWin32API