VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Internet Explorer Toolbar

by Klemens Schmid (9 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (32 Votes)

You want to have your own IE toolbar like Google or eBay? Writing Explorer Toolbar with pure VB seems to be one of the last challenges in the VB world. I tried hard and I guess came a step further compared to Eduardo Morcillo's 'Shell Extension' code. The main difficulty is that the CoolBar in the Common Control ActiveX component doesn't support variable-length buttons, which makes it more or less useless for an Explorer toolbar implementation. This forces you to use API calls to create the toolbar. Eduardo's go-ahead was to create the textbox on the toolbar via an API call as well. I wanted to avoid this because this makes it more difficult to handle events and set attributes of the textbox. My code re-uses the textbox from a VB form. Additionally it takes the dropdown menus associated with the two toolbar buttons from the same VB form. Another difficulty was to handle certain accelerator keys like Backspace within the toolbar. I found a simpler solution for this compared to Eduardo's code.
The toolbar has a very simple functionality. I simply wants to show how you can build one with as much VB as possible.
For more recent and more enhanced versions of the toolbar please visit my homepage www.klemid.de.
The VB project makes use of Edanmo's OLELIB.TLB. To avoid a version hell please download the typelib stuff directly from Edanmo's site (https://www.mvps.org/emorcillo/). The typelib is only required when you want to recompile the VB project.
The code was developed under Window XP / IE6. I tested if hasty under W2K/IE5 and Win98 SE/IE5.5 and it worked as well.
Updates:
2004-07-03 Slightly modified AddToolbarButtons

Assumes
The VB project makes use of Eduardo's OLELIB.TLB. To avoid a version hell please download the typelib stuff directly from Eduardo's site (http://www.mvps.org/emorcillo/). The typelib is only required when you want to recompile the VB project. The code was developed under Window XP / IE6. I tested if hasty under W2K/IE5 and Win98 SE/IE5.5 and it worked as well.

Rate Internet Explorer Toolbar

Download Internet Explorer Toolbar

Download Internet Explorer Toolbar (55 KB)

Internet Explorer Toolbar Comments

No comments have been posted about Internet Explorer Toolbar. Why not be the first to post a comment about Internet Explorer Toolbar.

Post your comment

Subject:
Message:
0/1000 characters