Article ID: 246234
This article was previously published under Q246234
This article has been archived. It is offered "as is" and will no longer be updated.
KBBAR is a sample Internet Explorer 5 toolband written in C++ with combined Active Template Library (ATL) and Microsoft Foundation Classes (MFC) code. KBBAR demonstrates how to host a combo box and two buttons on the toolband that use the IWebBrowser interface of the browser to navigate and execute search functionality for Microsoft Knowledge Base articles and the MSDN Web site.
The following file is available for download from the Microsoft Download Center:
Kbbar.exeRelease Date: May 30, 2001
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591Microsoft 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 secure servers that prevent any unauthorized changes to the file.
(http://support.microsoft.com/kb/119591/EN-US/ )How to Obtain Microsoft Support Files from Online Services
UsageAs a sample, KBBar has been kept intentionally simple. It contains two toolbar buttons and a combo box. The two buttons navigate to the MSDN Web site and the MSDN Web Workshop site, respectively. These locations are currently hard-coded.
You use the combo box to search the Knowledge Base for either a set of keywords or a specific article "Q number." To search by keyword, type the keywords into the edit portion of the toolband and press ENTER. To search for a Q number, type that number with a "#" sign, as in "#Q234234".
The combo box remembers all of the searches entered into it. You can then use the drop-down list to recall any search later.
ArchitectureThere are three main classes in KBBar:
Sections of interest
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: