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

The Code Project Search Bar

By , 16 Jul 2005
 

Introduction

The Code Project SearchBar gives you quick access to the Code Project site, and lets you do searches at any time, from any web page. The SearchBar is a plugin that adds a toolbar to Internet Explorer 5 or later. The toolbar has a text box and buttons that give you instant access to Code Project features. Here's what the toolbar looks like, and what the controls do:

 [Toolbar description - 17K]

SearchBar revision history

System Requirements

Windows 95, 98, Millennium, NT 4, 2000, XP, or Server 2003 with Internet Explorer 5 or later. I have not personally tested on Server 2003 but as long as you enable IE plugins, the SearchBar should run fine.

Quick Searching

The Code Project's search engine can search in four ways, and you can do them all from the SearchBar: article contents, article titles, article summaries, and authors' names. To search within article contents, enter the text you want to find in the search box, and click the Search button (or press the Enter key). The search results will appear in the browser window. To do any of the other three searches, click the down arrow on the Search button, then pick a search type from the menu, as shown here. You can also do a search within authors' names by pressing Ctrl+Enter.

 [Search submenu - 18K]

The SearchBar also supports drag and drop searching. If you see something (for example, a program name, COM interface name, etc.) on a web page and want to use it in a Code Project keyword search, you can highlight the text and drop it on the SearchBar. For example, suppose you're reading this MSDN page on shell extensions:

 [Selecting text - 32K]

If you want to search for "shell extension handlers" in Code Project articles, first select the text as illustrated above. Then drag the text onto the SearchBar. The mouse cursor will change to show that the SearchBar is ready to accept the text:

 [Dropping text on the toolbar - 33K]

When you release the mouse button, the SearchBar will perform a search within article contents for the selected text. You can also drag text from any other program that supports dragging and dropping of plain text, such as Word or Visual Studio.

New in version 1.2: The SearchBar also adds search capability to the context menu displayed when you select text in the browser and right-click it. The new menu items, shown below, are Code Project Keyword Search and Code Project Author Search. This feature is particularly useful if you use an IE-based browser (like Maxthon) that doesn't support IE toolbar extensions.

 [IE context menu items - 4K]

Code Project Site Links

Click the CodeProject button in the toolbar to go right to The Code Project home page. You can also click the Site Links button to see a menu of shortcuts to various areas of the site. The My Code Project Account submenu contains links to several pages for managing your account. (Note that you must enable automatic login in your Code Project account settings for these links to work.) The other link descriptions should be self-explanatory.

 [Site links menu - 8K]

Beginning with version 2.0, the Site Links menu is built from an XML file, so the menu can be customized. The XML file is called searchbar.xml and is stored in \Documents and Settings\All Users\Application Data\The Code Project\SearchBar on Win 2000 and XP, or \windows\All Users\Application Data\The Code Project\SearchBar on other OSes. You may change this however you like (the expected XML should be obvious if you inspect the contents) if you want to add or remove links from your own menu.

CodeProject administrators will occasionally update the available site links and post a new searchbar.xml on the site. When you run Internet Explorer with the SearchBar activated, the SearchBar will check CodeProject to see if an updated XML file is available. If so, it is downloaded in the background and automatically installed. This check is done only once per week, so it won't eat up a lot of bandwidth (either yours or the site's). You can also manually download updates to the Site Links menu using the Update Site Links Menu command, explained below.

Using the Code Project Web Service

The first item on the Site Links menu, Code Project Web Service, has three commands that interface with the web service.

 [Web svc commands - 6K]

Each of the three items contacts the web service and shows the corresponding list of articles or messages in the browser. For example, clicking Latest Lounge Topics shows a list like this:

 [Listing from web svc - 12K]

Each topic has a link directly to the Lounge post, as well as the CP-standard [^] link for opening the post in a new browser window. If your system is not connected to the Internet (as in the screen shot above), the SearchBar will show the topics list from the last time you were online. All dates and times are shown in your local time.

The SearchBar Control Menu

Click the down arrow next to the CodeProject button to see the SearchBar's control menu:

 [Control menu - 5K]

You can check CodeProject for an updated Site Links file by clicking the Update Site Links Menu item. If a new file is available, it will be downloaded and the Site Links menu will reflect the update immediately. This will also notify you if a new version of the SearchBar is available.

Click the About item to see the SearchBar about box, which shows the program's version number.

SearchBar Options

Click SearchBar Options to open the SearchBar options dialog. There are two pages, General and Signatures.

The General page

 [General options page - 52K]

The first check box controls whether text is shown on the toolbar buttons. You can turn off the button text so the SearchBar will take up less screen real estate, as shown below:

 [Toolbar without button text - 11K]

The combo box controls how searches are done. The default is to search for articles containing any of the search words. So for example, searching for "color button" finds articles containing either word. Selecting Search for all of the words makes your searches only return hits containing all the search words. The Code Project search engine now supports exact phrase searching; see the main search page for more details.

The next section is your enemies list - people whose posts you don't want to see when viewing the web service data.

New in version 3.0: Finally, there are two options that control new posting page enhancements. These two check boxes correspond to the two options on the posting page. When you start a new post, the SearchBar will check or uncheck the posting page options to match what you set here on the General page.

All settings are stored on a per-user basis.

The Signatures page

 [Signatures options page - 50K]

Version 3.0 introduces a signature manager, which lets you keep a set of signatures that can be inserted into your posts. When you are writing a post, you can use the new signature commands on the Commands menu (see below) to insert one of your signatures (either a specific one, or one chosen at random). You can also use the keyboard shortcut Ctrl+Shift+R to insert a random signature. If you check the Insert a random signature into new posts check box, the SearchBar will automatically insert a signature when you begin a new post.

The Where to insert signatures combo box determines how the signature is merged with your existing CodeProject signature that you set in your account options. The way I use it is to set it to Append to CP signature, that way my CodeProject signature is constant (it contains my name and some links) then the SearchBar appends one of my witty quotes. You can also set the SearchBar to prepend to the CodeProject signature, or replace it entirely.

If you already use one of the existing CodeProject signature managers (Desktop Bob, AutoSig, or Code Project Quoter), you can import those signatures into the SearchBar by clicking the Import button, then browsing to the XML data file used by the other signature manager. The SearchBar keeps your signature list in \Documents and Settings\[username]\Application Data\The Code Project\SearchBar on Win 2000 and XP, or \windows\Application Data\The Code Project\SearchBar on other OSes.

Posting Page Enhancements

The SearchBar now adds several features to the message posting page that make it easier to add emoticons, insert hyperlinks, and post C++ code. When you are on a posting page, you can bring up the emoticon menu by pressing Ctrl+Shift+Space:

 [Emoticon menu - 17K]

Select an emoticon to insert it in the message edit area. The Commands submenu contains other enhancements, and lists their keyboard shortcuts. For example, to convert the selected text to a hyperlink, you can press Ctrl+Shift+L.

The available enhancements are:

  • New in version 3.0: Insert any of your signatures from the list on the Signatures options page.
  • New in version 3.0: Insert a random signature from that list.
  • Insert the HTML for < > and & so C++ code doesn't get treated like HTML tags.
  • Convert < > and & characters in the selected text to their HTML equivalents (handy for times when you copy C++ code from somewhere else).
  • Add or remove <code> tags around the selected text (same as clicking the code button in the editing toolbar).
  • Convert the selected text to a hyperlink (with or without the [^] new window link).
  • Preview the post.
  • Submit the post.

Installing and Activating the SearchBar

Download the SearchBar self-extracting executable from the link at the top of this page. If you are installing over an existing copy of the SearchBar, close all Internet Explorer windows before running the EXE. If you don't do this, the SearchBar DLL will be in use and the installer won't be able to replace it with the new copy. If you are installing over version 1.1 or later of the SearchBar, the installer will detect when the DLL is in use and alert you.

Run the EXE, select the directory where you want the files installed, and click Install.

 [Install dialog - 14K]

If you use an anti-spyware program with real-time protection features, you may receive two alerts - one for the toolbar and one for a browser helper object (BHO). Be sure to allow both to be installed for the SearchBar to work properly.

The next time you run Internet Explorer, the SearchBar will be automatically enabled and will appear in the bottom row of toolbars. If it doesn't appear, click the View menu and point to Toolbars. There will be a new item that reads The Code Project SearchBar. Click this item to display the SearchBar. Repeat those steps to hide the SearchBar. Alternatively, you can right-click any existing Internet Explorer toolbar to get a popup menu that lists the available toolbars, and click The Code Project SearchBar in that menu.

If these steps still do not make the SearchBar visible, IE may be set to now allow third-party plugins. To check this option, go to your IE options, Advanced tab, Enable third-party browser extensions check box. Spyware may also interfere with IE plugins, so do a spyware scan if in doubt (using a reputable scanner like Ad-Aware, Spybot Search&Destroy, or Microsoft AntiSpyware).

 [Toolbars menu - 13K]

If you are running IE 5.0, there will be multiple Radio items on the menu. That is due to an IE bug - it lists all toolbar extensions as Radio. The last Radio item should activate the SearchBar.

Note that, depending on your Internet Explorer settings, you may have to log off and back on for Internet Explorer to begin using the newly-installed SearchBar.

Uninstalling the SearchBar

You can uninstall the SearchBar using the Add/Remove Programs Control Panel applet. The SearchBar has a really simple uninstaller at this time, which only unregisters the SearchBar DLL and the web service reader. You will need to delete the files manually. (This will be fixed in a future update.)

Acknowledgements

The SearchBar was built with Erik Thompson's DeskBand ATL Object Wizard. Thanks also to Erik for helping me fix bugs over MSN Messenger at 2 AM!

Revision History

  • v3.0 (July 17, 2005) - Added new signature management features. Added a BHO to automatically show the toolbar the first time IE is run after installing the SearchBar. Added three new smileys.
  • v2.0.2 (September 14, 2003) - Added new :sigh: and :doh: smileys to the menu. Removed code that selects text after using Ctrl+Shift+6 to make a link[^] since the code in the posting page does that now.
  • v2.0.1 (July 12, 2003) - The SearchBar now works in MyIE2. The search edit box now resizes properly when you change the show button text option.
  • v2.0 (June 26, 2003) - Tons of new stuff. Site Links menu now built from an XML file. XML file updated automatically from CodeProject. New web service reader that shows the latest CodeProject articles and posts in the browser. Posting page enhancements and emoticon menu.
  • v1.2.5 (November 13, 2002) - Removed Wintellect from the Premium Sponsors list. Added Search CodeProject to Site Links menu. Now adding qm= query string to use advanced search options. Added options to control which type of search to use.
  • v1.2.4 (April 7, 2002) - Added chevron support! Added XP theme support. Added Wintellect premium sponsor. Fixed popup menus so they appear above the button (not covering it) when the browser window is near the bottom of the screen.
  • v1.2.3 (October 28, 2001) - Added "Premium Sponsors" submenu to the Site Links menu. Updated the icon (which shows up in Win 2000's Add/Remove Programs list) so it matches the alien icon on the site.
  • v1.2.2 (August 22, 2001) - Fixed the transparency bug so the rebar wallpaper will show through the toolbar. Fixed the code that tells IE the size of the band, so you can double-click the band's gripper and the toolbar will snap to just the right size. Added Ctrl+Enter key combo to do an author search. Updated graphics with the new logo. Updated the "advertising information" URL.
  • v1.2 (June 18, 2001) - Added site links: SearchBar Web Page, Surveys and Polls, My Code Project Bookmarks. Added two search items to the IE context menu for a web page. Added a toolbar option to automatically quote search words when doing a keyword search.
  • v1.1 (April 27, 2001) - Added the control menu to the CodeProject button. Added ability to show/hide toolbar button text.
  • v1.0 (April 22, 2001) - First release.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Michael Dunn
Software Developer (Senior) VMware
United States United States
Member
Michael lives in sunny Mountain View, California. He started programming with an Apple //e in 4th grade, graduated from UCLA with a math degree in 1994, and immediately landed a job as a QA engineer at Symantec, working on the Norton AntiVirus team. He pretty much taught himself Windows and MFC programming, and in 1999 he designed and coded a new interface for Norton AntiVirus 2000.
Mike has been a a developer at Napster and at his own lil' startup, Zabersoft, a development company he co-founded with offices in Los Angeles and Odense, Denmark. Mike is now a senior engineer at VMware.

He also enjoys his hobbies of playing pinball, bike riding, photography, and Domion on Friday nights (current favorite combo: Village + double Pirate Ship). He would get his own snooker table too if they weren't so darn big! He is also sad that he's forgotten the languages he's studied: French, Mandarin Chinese, and Japanese.
 
Mike was a VC MVP from 2005 to 2009.

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

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Questionhow to set toolbar only for IE, not Explorermemberhifan30 Dec '10 - 19:00 
I see the toolbar is disabled in Explorer, only available in IE, how could I achieve this by Registry or C# code?
Generali could't find the source code.memberyyaisq17 Dec '10 - 4:35 
wandonful,graceful,thanks a lot,but i cann't find the source code,could you give me a piece of code.
Questiontransparency bug?memberSusan Crayne18 Jun '10 - 3:18 
I have developed a search bar using C#.   I would like the toolstrip to be the color of the rebar behind it, but when I set the toolstrip and the band object to transparent, what I see is a gray toolbar, even in Vista. This line in your description interests me:
 
"Fixed the transparency bug so the rebar wallpaper will show through the toolbar"
 
Perhaps something like this will solve my problem.   Could you tell me how you did this?   If you provide a C++ snippet I can translate it into C#.   I have looked at many search bar examples, but none have this problem solved the way your search bar does.   Thank you for any help.
 
Susan
GeneralSource Code [modified]memberAdeel Mirza6 Apr '10 - 17:57 
Hi Michael. I have a similar kind of requirement to develop a searchbar with a drop down list. Can you provide me the source code of your project?
Maverick
modified on Wednesday, April 7, 2010 12:23 AM

GeneralRe: Source Code [modified]memberAdeel Mirza7 Apr '10 - 21:38 
I am developing a similar kind of toolbar with a drop down on the click of the search button. All I need is to trap the event of the drop down click. Here is the code
 

LRESULT CMFToolbar::OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL&amp; bHandled)
{
	// buttons with images and text
	SendMessage(m_hWnd, TB_SETEXTENDEDSTYLE, 0, (LPARAM)TBSTYLE_EX_MIXEDBUTTONS);
	// Sets the size of the TBBUTTON structure.
	SendMessage(m_hWnd, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0);
	// Set the maximum number of text rows and bitmap size.
	SendMessage(m_hWnd, TB_SETMAXTEXTROWS, 1, 0L);
 
	SendMessage(m_hWnd, TB_SETROWS, MAKEWPARAM(1, 0), (LPARAM)NULL);
 
	SendMessage(m_hWnd, TB_SETEXTENDEDSTYLE, 0, (LPARAM)TBSTYLE_EX_DRAWDDARROWS);
 
	
	// add our button's caption to the toolbar window
	TCHAR* pCaption = _T("Members");
	int iIndex = ::SendMessage(m_hWnd, TB_ADDSTRING, 0,(LPARAM)pCaption);	
 
	TCHAR* pCaption1 = _T("Forums");
	int iIndex1 = ::SendMessage(m_hWnd, TB_ADDSTRING, 0,(LPARAM)pCaption1);
 

	// load our button's icon and create the image list to house it.
	HICON hMotley = LoadIcon(_Module.GetResourceInstance(), MAKEINTRESOURCE(IDI_ICON1_SEARCH));
	m_hImageList = ImageList_Create(16,16, ILC_COLOR32, 1, 0);
	int iImageIndex = ImageList_AddIcon(m_hImageList, hMotley);
 
	HICON hForums = LoadIcon(_Module.GetResourceInstance(), MAKEINTRESOURCE(IDI_ICON_FORUMS));
	int iImageIndex1 = ImageList_AddIcon(m_hImageList, hForums);
 
	DestroyIcon(hMotley);
	DestroyIcon(hForums);
 
	// Set the toolbar's image
	::SendMessage(m_hWnd, TB_SETIMAGELIST, 0, (LPARAM)m_hImageList);
 
	// add the button for the toolbar to the window
	TBBUTTON Button;
	ZeroMemory((void*)&amp;Button, sizeof(TBBUTTON));
	Button.idCommand = IDM_GETQUOTE;
	Button.fsState = TBSTATE_ENABLED;
	Button.fsStyle = TBSTYLE_BUTTON | TBSTYLE_AUTOSIZE | TBSTYLE_DROPDOWN;
	Button.dwData = 0;
	Button.iString = NULL;
	Button.iBitmap = iImageIndex;
	::SendMessage(m_hWnd, TB_INSERTBUTTON, 0, (LPARAM)&amp;Button);	
 
	TBBUTTON Button1;
	ZeroMemory((void*)&amp;Button1, sizeof(TBBUTTON));
	Button1.idCommand = IDM_FORUM;
	Button1.fsState = TBSTATE_ENABLED;
	Button1.fsStyle = BTNS_BUTTON | BTNS_AUTOSIZE | BTNS_SHOWTEXT | TBSTYLE_TRANSPARENT/*| BTNS_DROPDOWN*/;
	Button1.dwData = 0;
	Button1.iString = iIndex1;
	Button1.iBitmap = iImageIndex1;
	::SendMessage(m_hWnd, TB_INSERTBUTTON, 1, (LPARAM)&amp;Button1);
 
	m_hMenu = CreatePopupMenu();
	AppendMenu (m_hMenu, MF_ENABLED | MF_STRING, 0, _T("Forums"));
	AppendMenu (m_hMenu, MF_ENABLED | MF_STRING, 1, _T("Sessions"));
	//CheckMenuItem (m_hMenu, 0, MF_CHECKED | MF_BYCOMMAND);

	// create our EditQuote window and set the font.
	RECT rect = {0,0,0,0};
	m_EditWnd.Create(m_hWnd, rect, NULL, WS_CHILD|WS_VISIBLE, WS_EX_CLIENTEDGE);
	m_EditWnd.SetFont(static_cast&lt;HFONT&gt;(GetStockObject(DEFAULT_GUI_FONT)));
	return 0;
}
 
This is how the notification message is
 
BEGIN_MSG_MAP(CMFToolbar)
		CHAIN_MSG_MAP_MEMBER(m_EditWnd)
		MESSAGE_HANDLER(WM_CREATE, OnCreate)
		MESSAGE_HANDLER(WM_SIZE, OnSize)
		MESSAGE_HANDLER(WM_COMMAND, OnCommand)
		MESSAGE_HANDLER(WM_GETQUOTE, OnGetQuote)
		<b>NOTIFY_CODE_HANDLER(TBN_DROPDOWN, OnToolbarDropDown)</b>
	END_MSG_MAP()
;
 
LRESULT OnToolbarDropDown (int idCtrl, LPNMHDR pnmh, BOOL&amp; bHandled);
 

 
The problem comes over here....
LRESULT CMFToolbar::OnToolbarDropDown (int idCtrl, LPNMHDR pnmh, BOOL&amp; bHandled)
{
	RECT btnRect;
 
	::SendMessage(m_hWnd, TB_GETITEMRECT, 0, (LPARAM)&amp;btnRect);
	MapWindowPoints(HWND_DESKTOP, (POINT *)&amp;btnRect, 2);
	::TrackPopupMenu(m_hMenu, TPM_LEFTALIGN | TPM_RIGHTBUTTON, btnRect.left, btnRect.bottom, 0, m_hWnd, NULL);
 
	LPNMTOOLBAR pnmtb = (LPNMTOOLBAR) pnmh;
 
	int nItem = pnmtb-&gt;iItem;
 
	return 0;
}
 

I thought nItem is used to store the ID of the drop down menu being pressed. But the problem is even before drop down menu is open this message is trapped. So how can I resolve this problem?
Maverick
modified on Thursday, April 8, 2010 5:32 AM

Generalhjkhjkmemberakshatvirus7 Nov '08 - 21:00 
vgj
QuestionHow do i uninstall this software ?memberMember 484891718 Oct '08 - 3:22 
I'm not so fond of it and i wish to uninstall it. I can't seem to find a way !
 
Best Regards
QuestionUse ATLs CWindowWithReflectorImpl instead of CReflectionWindow?memberPhilipp Kursawe22 Sep '08 - 10:39 
Hello Michael,
 
being an expert in WTL I think you can answer me if there is any use of CWindowWithReflectorImpl to create a reflection window for the toolbar?
 
Happy coding,
Philipp Kursawe

GeneralDoesn't work anymore with the renewed internal search enginememberNinjaCross16 Jan '08 - 3:07 
Hi !
First of all, my best compliments for this extremely usefull tool.
I use it every time i want to search something in TCP.
Unfortunately, it doesn't work anymore with the renewed internal search engine of the site.
Do you plan to update it so it can work again ?
Thanks for you support.
 
--
NinjaCross
www.ninjacross.com

GeneralRe: Doesn't work anymore with the renewed internal search enginemvpMichael Dunn16 Mar '08 - 16:54 
I haven't thought about the CP toolbar in a while. I honestly thought everyone was using CPHog nowadays. Smile | :) If you're using IE 7, you can add CP to its built-in search field.
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! CP SearchBar v3.0 | C++ Forum FAQ
 
I work for Keyser Söze

General[Message Removed]memberstonber1 Oct '08 - 7:43 
Spam message removed
QuestionControlling Sidebar from BHOmemberAlex Shneyder9 Oct '07 - 17:12 
I have figured out how to show and hide sidebar from BHO using ShowBrowserBar call. Does anyone knows how to update the url in the sidebar from the BHO?
Questionwhere is BHO ?member101611 Sep '07 - 1:19 
Dear Micheal,
First of all I extremely appreciate you efforts. It realy help in my own toolbar. You have mentioned under heading "Revision History" of the artilce that you have added a BHO that automatically shows your toolbar after first instance of IE after installation.
 
Would you like to provide me this BHO ? I also need it. Also can this BHO interact with other instances of IE or only on current instance? Please help me.
 
I am waiting for your kind response.
 
Regards
Rizwan

AnswerRe: where is BHO ?mvpMichael Dunn4 Oct '07 - 20:06 
How to programmatically activate a band object[^]
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
 
I work for Keyser Söze

GeneralOne question about realizationmemberhorvat@pisem.net14 Aug '07 - 5:38 
Hi!
Now I working on make my own toolbar for IE.
 
And have next trouble:
I can't correctly show text in chevrons. By default IE draw an icon, and text near it (with drop down arrow for menu). But for one, most longer string, it replace text with "..." in the end. I want to see all text, without with point in the end. And i am realy don't understand how to realize this. Can you help me? Just tell in which way to move.
 
my e-mail: komarnitsky@gmail.com
QuestionProblems with toolbarmemberPierso12 Jun '07 - 6:28 
Hello everyone,
 
I made a toolbar for IE and it works fine in Visual C# but I want to distribute it across computers. I've tried InstallShield but I don't have an .EXE file for the install package. Any help would be greatly appreciated for helping me find a way to install my toolbar onto other computers.
 
Thanks guys,
 
Chris Pierce
QuestionInstalling a toolbar on FireFox or NetscapememberPierso12 Jun '07 - 6:26 
Hello everyone,
 
I have a toolbar that I have created for IE. I trying to get it to work on FF or NetScape. Does anyone have any information that they can give me that will help me out with this question. I'm kinda new to programming and I would appreciate any help possibly. Please explain any technical answers.
 
Thanks a lot,
 
Chris Pierce
Generalhi, any method to create a toolbar for firefoxmemberinvinJerry30 May '07 - 0:39 
I created a toolbar using KBBAR toolbar example as base. which is an assembly dll, and it displays and works fine in IE 6 and 7. how can i add/view this toolbar into FireFox. is there anything additional i have to do?
I think i ve to create a seprate dll for firefox sepecifically. can you tell me what i 've to do.
GeneralRe: hi, any method to create a toolbar for firefoxmvpMichael Dunn5 Jun '07 - 18:36 
Firefox extensions are done completely differently. There is a FF version of the CodeProject bar, or you can search for "firefox toolbar tutorial" - that's how I got started.
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
 
Dunder-Mifflin, this is Pam.

GeneralToolBar Missingmembermail4johnv8 Jan '06 - 19:55 
I have created one toolbar based on the Eric Thomsons article it's working fine and i have made one installation for that the problem is in some machines if i install this toolbar the entire IE toolbars are missing. The problem I have found is that it is corrupting the WebBrowser ITbarLayout registry entry. If I go and delete ITbarLayout entries manually it's working fine. Do you have any idea why it is happening ???
Please help me to solve the issue
 
Thanks in Advance
 
Nandan
GeneralSearch HistorymemberPJ Arends23 Dec '05 - 11:24 
Mike, I would like to see you add a search history feature. Change the search edit box to a combo box where previous searches are listed. One could make how much history to keep a user setting.
 

 


"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
 
"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04
 
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
 
Within you lies the power for good - Use it!
GeneralRe: Search HistorysitebuilderMichael Dunn8 Jan '06 - 20:57 
I'll add that to the feature wish list. Smile | :)
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
#include "witty-quote.h"
GeneralThe source code questionmemberjamescap18 Sep '05 - 15:53 
Considering there is 309 messages, it would be great if you could explain where the source code is, or simply state you do not release. Either way its cool, but as a suggestion: could you edit the article and add your source file situation at the bottom. Anyway, looks like just what I need to help me with my support job; I am learning some IE programming to make stuff more efficient...
 
All the best man.
 
Jim

 
Intel 955x, 660 ES, X850XT, PC6400, RAID 0
GeneralRe: The source code questionmembertoxcct19 Oct '05 - 22:37 
this is the free tools section... it is allowed here that source codes are not provided...
you have to accept this idea.
 

TOXCCT >>> GEII power
[toxcct][VisualCalc]
GeneralSource code plzmemberC0MGU122 Aug '05 - 4:40 
Plz provide source code for this article
 
C0MGU1
GeneralRe: Source code plzsitebuilderMichael Dunn27 Aug '05 - 14:03 
The availability of the source code has already been covered in the discussion board here; please read back.
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | 1ClickPicGrabber | NEW~! CP SearchBar v3.0 | C++ Forum FAQ
Generaldownload the source code..membertonyboyco21 Aug '05 - 15:56 
Can you also share the source code and make it available for download.. thanks.. i think it will help.
 
Smile | :)
GeneralRe: download the source code..membersudarshanyadav18 Mar '11 - 23:50 
kkkkkkkkkk
GeneralVersion 2.0.2.0 downloadingmemberEricB16 Jul '05 - 11:30 
When clicking the "download" link at the top of the page downloads version 2.0.2.0 rather than the new version 3.0.
 
EricB
GeneralRe: Version 2.0.2.0 downloadingsitebuilderMichael Dunn16 Jul '05 - 13:07 
D'Oh! | :doh:
 
All fixed Blush | :O
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Ford, what's this fish doing in my ear?
QuestionHow RichEdit or HyperLink add to SearchBar ??memberdobaksa13 Jul '05 - 19:08 
Please Help me!!
How, RichEdit or HyperLink add to SearchBar ??
GeneralFirefoxmemberMillerBros5 Jul '05 - 1:28 
Any plan to do a search bar for Firefox?
GeneralRe: FirefoxmemberKevin McFarlane5 Jul '05 - 1:54 
There was a Firefox beta version posted here a few days ago.
 
Kevin
GeneralRe: FirefoxsitebuilderMichael Dunn5 Jul '05 - 5:43 
I don't have any plans to but someone else has just started one[^] Smile | :)
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD

GeneralTaskbar shows garbagesusshgode13 Jun '05 - 20:13 
if I start IE with the CodeProject Searchbar visible, the buttons on the taskbar shows garbage and not the title of the IE windows as usual.
 
If I disable the Codeproject Searchbar and restart IE, the buttons in the taskbar show the title of IE correctly.
 
I am running Windows 2000SP4 german language.

GeneralRe: Taskbar shows garbagesitebuilderMichael Dunn14 Jun '05 - 3:57 
It's caused by how the toolbars communicate with each other to let each other know when the options change - I subclass the IE frame window and the toolbars use broadcast messages. The subclassing is not totally reliable or stable, but I've seen no ill effects other than the momentary munged text. I've fixed this for the next major rev, but until then you can get a pre-release build if you check the SearchBar post in my blog.
 
--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ
Strange things are afoot at the U+004B U+20DD

GeneralSmall bugsmemberLowell Heddings18 May '05 - 5:25 
I found two small bugs... the first one is annoying, if I type C# into the search box, it breaks the search on the #
 
Secondly, if you have the asian language packs installed, the Internet Explorer header becomes a mass of chinese characters, no matter what page you are on.
GeneralRe: Small bugsmemberLowell Heddings18 May '05 - 5:26 
I suppose I should have read right below this thread... looks like somebody else noticed this a long time ago.
GeneralSourcememberBrian Delahunty15 Jul '04 - 3:26 
Hey Mike,
 
Is the source available for the search bar?
 
Regards,
Brian Dela Smile | :)
 
http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section Big Grin | :-D
http://www.briandela.com/rss/newsrss.xml RSS Feed
GeneralRe: SourcememberTom Archer3 May '05 - 4:59 
You got voted down simply for asking about source code? And on a site called the Code Project Roll eyes | :rolleyes:
 
Cheers,
Tom Archer - Archer Consulting Group

"Eat your brussel sprouts, Junior. There are starving Chinese children American programmers that would kill for that food!"
GeneralSmall search bugmemberMichael P Butler18 May '04 - 3:16 
Entering "c# outlook" into the search box and clicking search
results in the bar not correctly filling the search boxes in IE
 
http://www.codeproject.com/info/search.asp?target=c#+outlook+contacts&st=kw&qm=all[^]
 
As the above URL demonstrates, the CP search gets confused by the # and only fills C into the keywords box.
 
Michael

CP Blog [^]

GeneralRe: Small search bugsitebuilderMichael Dunn18 May '04 - 4:45 
Good catch Smile | :) I should be URL-encoding special characters in the search terms (you get the same result if your search words have % or ? too).
 
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
You cannot truly appreciate Dilbert unless you've read it in the original Klingon.
Generalload or check the toolbar from the registrymemberjiten18482@rediffmail.com16 Apr '04 - 21:38 
does anyone know how to automatically load the toolbar without actually manually clicking on IE view->toolbars and choosing the toolbar
 
maybe from the registry or something??
 
please help
thx in advance
GeneralRe: load or check the toolbar from the registrysitebuilderMichael Dunn17 Apr '04 - 6:45 
It requires writing a BHO that activates the band. See Q255920 HOWTO: Programmatically Active a Band Object[^]
 
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
"Linux is good. It can do no wrong. It is open source so must be right. It has penguins. I want to eat your brain."
  -- Paul Watson, Linux Zombie

GeneralRe: load or check the toolbar from the registrymemberjiten18482@rediffmail.com20 Apr '04 - 22:53 
this was indeed a very good solution but there is a slight problem. see basically it does show the toolbar in IE.
But due to this, it also loads the toolbar in normal WINDOWS EXPLORER. now if i go and uncheck the toolbar in windows explorer and start a new instance of windows explorer it will not load it, but if i start a single new instance of IE it loads it in windows also.
 
do u have a solution to this. if yes then pls help.
 
thanks in advance

GeneralRe: load or check the toolbar from the registrysitebuilderMichael Dunn21 Apr '04 - 5:02 
What you do is:
1. Install toolbar and BHO
2. Your installer runs IE
3. BHO shows toolbar and sets a registry entry indicating the toolbar has been shown
4. (optional) remove BHO entries from registry
5. When the BHO is loaded in the future, it sees the reg entry and does nothing with the toolbar.


 
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
I even hear the Windows "OMG I booted up fine" sound.
  -- Paul Watson diagnosing hardware problems.

GeneralRe: load or check the toolbar from the registrymemberjiten18482@rediffmail.com21 Apr '04 - 19:55 
hey thats a great idea. thx a lot Smile | :)
GeneralURGENT!!memberjiten18482@rediffmail.com6 May '04 - 19:14 
is there any way we can restrict the toolbar from loading in Windows Explorer on checking it on r-click, while allow the same to load in IE only.
 
thx in advance.
GeneralRe: URGENT!!sitebuilderMichael Dunn7 May '04 - 4:11 
Explorer and IE are the same thing these days. For ex, run IE and go to codeproject.com. Looks like IE, right? Now enter "C:\" in the address bar. Now it looks like file explorer.
 
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
Pinky, are you pondering what I'm pondering?
I think so Brain, but if we shaved our heads, we'd look like weasels!

GeneralRe: URGENT!!memberjiten18482@rediffmail.com7 May '04 - 18:50 
thats very true. i understand that. but i am sure there should be some way to differentiate between the two,otherwise how does "Google toolbar" prevent loading of the toolbar in windows explorer and allow the same in IE???
 
wierd isnt it?

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.130516.1 | Last Updated 16 Jul 2005
Article Copyright 2001 by Michael Dunn
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid