Quick Search for:  in language:    
explorer,band,addon,IEWindows,click,Favorites
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,290,928. lines
 Jobs: 179. postings

 How to support the site

 
Sponsored by:

 
You are in:
 

Does your code think in ink?
Login





Latest Code Ticker for Visual Basic.
Check Placement of Form on Screen
By CubeSolver on 11/20


RT Full Duplex
By Brian Black on 11/20


C++ Template Hack
By OpcodeVoid on 11/20


Click here to see a screenshot of this code!DeskTop Generator
By Ziad Said on 11/20

(Screen Shot)

SQLMan
By Darwin H. de Leon on 11/20


Klik! CompareLib...Co mpare and synchronize schema differences in your Access databases...
By Özden Irmak on 11/20


listview000sher if
By Sherif Omran on 11/20


Using ComboBox instead of TextBox
By SMA Soft on 11/20


Click here to see a screenshot of this code!ColorFade
By SMA Soft on 11/19

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

[UPDATED] IE Webamp (How to make Explorer band addons for IE)

Print
Email
 
winzip icon
Submitted on: 12/6/2000 5:35:11 PM
By: xTrin  
Level: Intermediate
User Rating: By 47 Users
Compatibility:VB 6.0

Users have accessed this code 25235 times.
 
(About the author)
 
     This is an explorer band addon for IE/Windows Explorer (ie when you click on Favorites the little side bar that comes up is an Explorer Band) the example is a simple mp3 player that runs while IE is open so you can listen to mp3s while you look at webpages...you could change this into something more useful...vote vote vote!!! Read the README file first!!!!!! New Update!! added a readme and .reg file with instructions for adding a button to the IE toolbar for IE Webamp!!! Vote!! [new screenshot!] xTrin

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

'**************************************
'Windows API/Global Declarations for :[U
'     PDATED] IE Webamp (How to make Explorer 
'     band addons for IE)
'**************************************
In the code
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
12/6/2000 10:27:36 PM:RAM
WERE DOES THIS MP3 BAR APPEAR?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/6/2000 10:42:25 PM:RAM
Were do i change the CLSID?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/6/2000 11:23:17 PM:xTrin
well if the CLSID on your system is 
different then the one in the 
webamp.reg file change it...for example 
you'd want to change the 
{2616531D-FA53-408B-87AA-2A874972B272} 
part 
of
[HKEY_CLASSES_ROOT\CLSID\{2616531D-F
A53-408B-87AA-2A874972B272}] to the 
CLSID associated with IE Webamp on your 
system and do the same with the other 
entry in the webamp.reg file
vote 
vote vote!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/6/2000 11:39:16 PM:RAM
BUT WERE DO YOU GET THE EXPLORER'S 
CLSID?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2000 7:12:48 AM:IcecubeRyder
xTrin, do you know of a way to create 
new radio or link toolbar?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2000 10:45:59 AM:Newmann
this is a great piece of code! 5 
stars.
one question, though... i 
have been trying to build a "DeskBand", 
which is (supposedly) very similar to 
an IE WebBand... do you know of a way 
for creating DeskBands using *only* 
VB?
(maybe this link can help you out; 
the examples are based on C++... sofar, 
my porting efforts to VB have failed 
miserably...
http://msdn.microsoft.com/
workshop/browser/ext/overview/Bands.asp 
)
thanks, and keep up the good work!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2000 12:04:18 PM:xTrin
to make a deskband requires only 
changing the implemented categories in 
the registry...if you look in the 
webamp.reg file and see where it says 
Implemented Categories change the 3 in 
{00021943-0000-0000-C000-000000000046} 
to a 2 and you will have a deskband
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2000 12:08:22 PM:xTrin
to make a radio bar also requires 
editing the registry...you need to add 
the CLSID of the Explorer band to 
HKEY_LOCAL_MACHINE\Software\Microsoft\In
ternet Explorer\Toolbar = '{CLSID of 
your Explorer band}' that would make a 
radio type bar. I tried this once but 
it didn't turn out to well...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2000 11:14:50 PM:xTrin
it's me (again) ok I updated the zip 
file to include a readme file with 
instructions for adding a button to 
Internet Explorer's Toolbar for IE 
Webamp..take a look!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/10/2000 2:29:11 PM:Mark Withers
It crashes IE! Doesn't work on my 
computer.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/24/2000 10:14:37 AM:vbstratus
nice code...could use better 
instructions and a GUI! 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/26/2000 10:13:57 PM:xTrin
i've been working on the GUI some 
lately...i have an updated version of 
the player with install support if 
anyone is interested...just email me
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/8/2001 9:17:52 AM:Brad
You guys should get the book Visual 
Basic Shell Programming by O'Reilly. I 
bought it a few months ago for a 
project and it helped me out alot. The 
things it teaches you are amazing, and 
the things you guys  are asking about 
are all included in that book.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/9/2001 7:38:15 AM:TBlack
I'd really love to see it working.. but 
it doesn't show up in the Bars list. I 
tried to recompile it (and changing the 
ID after registering the DLL), but no 
luck. Any hint? :-)
P.S.
At least I 
have the button on the IE Toolbar... ;-)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/18/2001 6:20:53 PM:Asa Hicks
Hi, can someone *please* adapt this 
script to work in VB5.0?
Cheers, 
Asa.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/13/2001 2:32:19 PM:JuanR
Nice Code.  Worked first try.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/23/2001 11:23:05 AM:Alex Wolfe
This code works well with some 
exception...
The backspace key does 
not work in text fields.  The keydown 
and keyup events fire on every key 
stroke with the exception of the 
backspace.  This makes it rather 
difficult to make your own production 
quality search bar or other control 
that requires typing.  
I have 
searched MSDN and other sources and 
have yet to come up with a good reason 
why this might be occuring.  The author 
is clueless as well.
It also might be 
worth noting, that if you want to have 
any sort of links on your explorer band 
control, you can use the Shellexecute 
API (passing the desired URL as the 
file parameter) to load a url in the 
browser window.
If anyone has an 
answer to the backspace phenomenon, 
please shoot me a message at 
alexkwolfe@yahoo.com.
Thanks!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/27/2001 9:03:11 PM:Ofcaah
Some kind of sollution to backspace 
problem:
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/27/2001 9:04:55 PM:Ofcaah
uh, something went wrong, here's the 
URL: 
www.sheepnet.org/vb/backspace_in_bands.t
xt
Could someone please tell me, how 
to create more than one band? I think 
it's pretty easy, and I just don't get 
something.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/3/2001 4:26:54 AM:Michael L. Barker
Yet again, nice job!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/15/2001 12:09:41 AM:vb learner
I still can not find out how you do all 
this. I read your read me, but I cant 
find the ie .reg ???? where is it You 
need more clarified directions
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/19/2001 6:23:23 AM:jaleel p a
I am not getting the hot icon(when 
mouse move over the webband button on 
the toolbar) on the IE toolbar control. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/3/2001 9:16:06 AM:Paul Hulley
Nice code, have you any other code on 
the same sort of topic.  Possibly 
adding a drop down box from the menu 
icon like the Mail button 
does.
Cheer's anyway
Paul.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/9/2001 7:20:17 AM:Avi
your code is running beautifully,
but 
every time I restart my computer,
the 
registry changes in the 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/22/2001 9:08:40 PM:cbudd
Excellent rating! This is nice... one 
question: did anybody find out how to 
click on a URL and open it in the 
browser? I understand Shellexecute 
should work but I couldn't find a 
working example. All info is welcome!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/27/2001 7:00:38 AM:Alan
I've covered all the material in the 
readme and add button files and have 
the icon on the toolbar and the webamp 
listed in explorer bar under the view 
menu.  I've also ensured that the CLSID 
values match.  However, when i try to 
activate the bar it crashes my browser. 
 Any ideas?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/29/2001 7:18:55 AM:Alan
ok, i have it working.  is there any 
way to embed windows media player into 
the bar?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/26/2001 5:09:08 AM:Nic
How can i create my own custom band in 
ie, something like the 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/29/2001 3:05:17 PM:Nathan Arendt
Just a minor problem: The 
Class_Terminate event never seems to 
fire. Because of this any code in your 
terminate event is not executed and may 
lead to GPFS or other fatal exceptions. 
I got around this problem by calling 
Class_Terminate myself when the 
IDeskBand_CloseDW event fires.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/3/2001 3:31:04 AM:george.pagotelis@nec.com.au
Does anybody have VB code (not Windows) 
for creating a toolbar like google snap 
in? I've search MSDN 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2001 3:43:00 AM:Nathan Arendt
I have found a solution to backspace 
and other accelerator keys not working 
when the webbrowser control is hosted 
in a band. Please see my code here: 
http://www.planetsourcecode.com/vb/scrip
ts/showcode.asp?txtCodeId=26044&lngWId;=1
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/2/2001 10:26:31 PM:shine
Good job, have you read the book VB 
Shell Programming by O'Reilly 
Press...Very good book for this area of 
programming windows
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/9/2001 6:41:42 AM:Raducu
I find this toolbar great...I made it a 
radio bar, but now I want a button that 
loads a page in the browser (like the 
google toolbar or yahoo). I tried to 
use DDE with the current browser but 
it's not working from an activex dll (i 
think it's normal).
If you guys have 
any idea, please help ...!!! :-))
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/17/2001 12:19:40 PM:Andy
How do I add Windows XP themes to the 
explorer bar?  By the way it works 
great :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/6/2001 12:23:00 AM:sookphon
help me.. Key Backspace  not work in 
text box  ..  if u code new ..  please 
send me.. sookphon@yahoo.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/7/2001 9:09:30 AM:Elmo
i have converted this to act as a 
toolbar but i cant set the height and 
its massive, HELP ME PLEASE
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/20/2001 7:04:48 AM:dphilc
Yes this is very useful indeed. 
However, I have a number of questions 
(too many to post here). Is there any 
online where I can find out about 
manipulating vbshell without having to 
use someone else's tlb?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/17/2002 11:56:29 PM:Hotline Corsair
i did everything in the read me and i 
get nothing. what am i missing?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/1/2002 5:42:15 PM:Tom
Anyone have a copy of the source, this 
link seems to be broken?
thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/18/2002 3:40:17 AM:Mario
Lovely code. How can I implement a drop 
down?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/19/2002 11:03:10 AM:moynul
Thanks you for the code. I've 
registered it and a button appears on 
the Toolbar, However, when I click the 
button nothing happens. Can you tell me 
what I am doing wrong? Thanx.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/19/2002 8:18:04 PM:Phil
Does this code compile ok with VB6? I 
get the dll to compile, and register 
the dll, but IE doesn't display the 
band properly. If it does get into IE, 
none of the controls in the VB form are 
visible. Is there any special trick to 
compiling a DLL?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/8/2002 9:49:12 PM:Michael Barnathan
If you find a way to do a google 
toolbar style thing, please post it. 
Everyone on PSC and off will love you 
for it; this code is near impossible to 
find.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/13/2002 5:18:46 AM:AD
Which folder should  i put the dll? 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/21/2002 3:43:50 PM:Dieter Verfaillie
hmmm, seems to be incompatible with 
Internet Explorer 6...
anyway, great 
code!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/21/2002 3:53:19 PM:Dieter Verfaillie
was this created for IE4 or IE5+?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/21/2002 11:58:41 PM:Steve Williams
I'm guessing that its not compatible 
with IE6. I finally got the icon to 
show properly but nothing happens when 
clicked. MSDN has info on creating a 
menu item in the tools menu but not the 
View | Explorer Bar SubMenu and it does 
not show in there. I'm going to try it 
on an old PC running IE5 and see what 
happens. If anyone has the cure PLEASE 
post.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/22/2002 12:24:22 AM:Steve Williams
OK...I have found that this code works 
great on a system running Win98 and IE5 
but does not work at all with WinXP and 
IE6. Hey xTrin its time for an update...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/25/2002 5:36:02 AM:Andy
Works fine under WinXP on IE6.0
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/26/2002 7:37:43 PM:Steve Williams
Your right Andy, I don't know what I 
did wrong the first time but I edited 
out all registry reference's to webamp 
(except the VB project reference) and 
tried again and now it works...go 
figure...Sorry if I missled anyone.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/20/2002 9:30:58 PM:Nikon
Just me but i can't get it to work 
please send me some info on installing 
it from a program point-a-view, like a 
setup !! PS on Win2000-IE6 it not 
working or i'm doing somting verry 
wrong !!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/11/2002 1:12:31 PM:wutaag
to make it a bar register the dll take 
the new CLSID from the register and 
crate an entry to 
HKEY_LOCAL_MACHINE\Software\Microsoft\In
ternet Explorer\Toolbar ... the entry 
is the new CLSID (string) and then the 
value whatever you want 
...(title)
anyone know how to work 
together with the browser app ? eg. 
make the bar a second address bar or 
something 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 1:32:17 PM:wutaag
ok for people that don't know: to make 
a ReBar autoalign remove this code:
If 
(dbi.dwMask And DBIM_MODEFLAGS) 
Then
dbi.dwModeFlags = 
DBIMF_VARIABLEHEIGHT
End If
and to 
make it open a url add this:
  Public 
wb As InternetExplorer
      Set wb = 
isp.QueryService(VarPtr(wba), 
VarPtr(wb2))
wb.navigate ...u know the 
rest.gl
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 1:56:00 PM:wutaag
oh and to fix the Backspace thing all i 
did is remove the WS_CHILD style from 
the list ...everything seems to work 
just as fine ..good luck
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/26/2002 6:16:14 PM:Zebo
Didn't work with me, i opened it up and 
it game a missing file error and when a 
ran it it did nothing.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/30/2002 12:03:31 AM:wutaag
well ..read the readme.txt file that 
came ..you dont run it because its a 
dll .. you have to register and install 
first ... good luck
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/5/2002 5:16:04 AM:Andrew Thorpe
this is s^it- it just chucks errors at 
me
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/15/2002 12:51:43 PM:
Well i have maded the button in IE and 
the side bar appears fine :) but 
nothing is in it :( where do i put the 
DLL or what do i do to it PLEASE HELP
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/23/2003 9:14:41 AM:BelgiumBoy_007
G'day,
I can get the icon and stuff 
on the toolbar, no problem.  But why 
doesn't anything happen when the button 
is pressed ? Also how do you make an 
application run when it's pressed (like 
MSN)?
btw.: I gave you 
5/5
Greetz,
BelgiumBoy_007
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/4/2003 9:59:35 PM:Morpheous
xTrin,
Wonder if you could help me out 
on a subject here.
I am trying to pass 
back the current url but cannot seem to 
get it to work.
I have tried 
using:
Public WithEvents IE As 
HTMLWindow2
But whenever I try and 
retrieve the url from this it returns 
as Object Variable or With Block 
Variable not set.
 Sub Form_Load 
....
set Ie = new 
iewebamp
IE.document.url
End Sub
I added  of course the necessary 
variables to set this up but does not 
seem to work.
Please let me know if 
you can help, thanks
Eric Cogen
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.