Click here to Skip to main content
Click here to Skip to main content
Go to top

make a VB.Net toolbar for Internet explorer

, 22 May 2005
Rate this:
Please Sign up or sign in to vote.
this source code help you to make a toolbar with Band Objects in VB.net

Sample Image - VB-IE-Toolbar.jpg

Introduction

Five days ago , i searched for an example for IE toolbars in VB.net , but i found only one source code in C# . Please take a look to this article By Pavel Zolnikov before read my article! many people wrote some thread for Pavel for some source code of bands objects in VB because there are many problem in converting this source code from C# to Vb ! im a VB programmer and when i write a new version of this toolbar in VB , i decide to put it in the Code Project for Other people that search for it later Wink | ;) .

 

Some source code of IE toolbar in VB.net

 

make a refrence of bandobject.dll for your form


Imports System<BR>Imports System.ComponentModel<BR>Imports 
System.Windows.Forms<BR>Imports BandObjectLib<BR>Imports 
System.Runtime.InteropServices

<Guid("AE07101B-46D4-4a98-AF68-0333EA26E113"), 
_<BR>BandObjectAttribute("Shokouh Bar", BandObjectStyle.Horizontal Or 
BandObjectStyle.ExplorerToolbar Or BandObjectStyle.TaskbarToolBar, 
HelpText:="Shows bar that says hello.")> _<BR>Public Class 
SampleBars<BR>    Inherits BandObject</CODE><P></P>
<P>this application make a Persian text box for an online dictionary too 
,</P><CODE lang=vbnet>
<P>    Public Function e2f(ByVal key As Integer, ByVal shift As 
Boolean) As String<BR>        Try</P>
<P><BR>            <BR>            
Dim str As 
String<BR>            str 
= 
Chr(key)<BR>            </P>
<P>            If shift = 
False 
Then<BR>                
Dim fa() As String = {"&#1590;", "&#1589;", "&#1579;", "&#1602;", "&#1601;", "&#1594;", "&#1593;", "&#1607;", "&#1582;", "&#1581;", "&#1580;", 
"&#1670;", "&#1588;", "&#1587;", "&#1610;", "&#1576;", "&#1604;", "&#1575;", "&#1578;", "&#1606;", "&#1605;", "&#1705;", "&#1711;", "&#1592;", "&#1591;", "&#1586;", "&#1585;", 
"&#1584;", "&#1583;", "&#1574;", "&#1608;", "&#1662;", "&#1688;", "&#1572;", " 
"}<BR>                
Dim en() As String = {"Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", 
Chr(219), Chr(221), "A", "S", "D", "F", "G", "H", "J", "K", "L", Chr(186), 
Chr(222), "Z", "X", "C", "V", "B", "N", "M", Chr(188), Chr(192), Chr(220), 
"<", " 
"}<BR>                
If System.Array.IndexOf(en, str) >

Please after unzipping the source file, open " Register/register.vcproj " in the notepad and replace the path of samplebars.dll whth your own path

And at last , please visit of my website , if you want to support a global movement for peace : www.BlueAppleWorld.com

enjoy it Wink | ;)

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

Share

About the Author

sohrabi
Web Developer
United States United States
No Biography provided

Comments and Discussions

 
QuestionError Not Show Toolbar in Internet Explorer Pinmemberheadshot9x2-Jul-12 16:09 
GeneralMy vote of 5 PinmemberHeaven20203-Nov-10 6:53 
GeneralRe: My vote of 5 Pinmembermysteryguy10118-May-11 20:35 
GeneralIts Not working please correct the source......... Pinmemberstattri20012-Dec-09 22:37 
QuestionIE Toolbar for IE and Firefox PinmemberMember 35901424-Jul-08 0:52 
Generalabou opera browser Pinmemberbehdadb28-Apr-08 22:03 
QuestionError Compling Source PinmemberRobertSoelner23-Oct-07 2:51 
Questionwat could be the solution Pinmemberalvin05746-Jul-07 3:53 
GeneralRe: wat could be the solution Pinmemberlavino8-Mar-08 14:40 
QuestionIE7 Pinmembernitz220214-Jun-07 2:22 
what about IE7 i cant view it
Questiontoolbar not shown in IE7 Pinmemberying253-Jun-07 15:35 
AnswerRe: toolbar not working ...... Pinmemberstattri20012-Dec-09 22:43 
QuestionConnect to remote database Pinmemberying2523-May-07 22:17 
Questionnot able to see the textbox on the toolbar Pinmembersushmat8-Mar-07 0:20 
QuestionCould not load file or assembly Interop.SHDocVw PinmemberHeppie28-Dec-06 7:09 
QuestionDoes the Toolbar requires dot net framework? Pinmembershash12324-Oct-06 20:29 
AnswerRe: Does the Toolbar requires dot net framework? Pinmembermikeb699-Jan-07 4:36 
Generalnothing happens PinmemberMesser7918-Oct-06 8:11 
GeneralRe: nothing happens Pinmemberguru77716-Mar-07 9:10 
QuestionThe dependency 'Interop.SHDocVw' could not be found. Pinmembershukku malik27-Sep-06 5:58 
QuestionRe: The dependency 'Interop.SHDocVw' could not be found. Pinmemberabnncte30-Nov-06 17:27 
AnswerRe: The dependency 'Interop.SHDocVw' could not be found. Pinmembergorcq26-Feb-07 15:35 
QuestionHow to install it from web site or installation package? PinmemberNhilesh B7-Sep-06 1:38 
GeneralDistribution Pinmemberpete11ryan16-Mar-06 11:22 
GeneralDistributing control Pinmemberpete11ryan16-Mar-06 11:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 22 May 2005
Article Copyright 2005 by sohrabi
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid