Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating toolbars....
Message
From
01/12/2001 16:21:30
 
 
To
30/11/2001 09:18:08
General information
Forum:
Internet
Category:
Microsoft Internet Explorer
Miscellaneous
Thread ID:
00587952
Message ID:
00588433
Views:
28
>I would like to create my own toolbar for Internet Explorer, like the Google toolbar. Anyone know where to find information about that?
>
>Thanks in prior!

I use the following method in Eeva webserver
* IECreatebutton method()

* Writes a IE registry entry:
* Creates a Tools menu pad, button and right click menu item in
* internet explorer

LPARAMETERS cId, cMenuText, cIcoFile, cQueryString

* cId - button id hexadecimal, 3 chars.
* cMenuText - Tools and Right Click menu text, may contain & For hotkey
* cIcoFile - .ico file name
* cQueryString - query string passed to run.htm manager.
*    contains method to run

Local ICODIR, SCRIPTDIR
ICODIR = strt(request.form('icodir'),'\','\\')+'\\'
SCRIPTDIR = 'http://'+Request.form('host')+ '/ie/'

ASSERT LEN(m.cId)=3 AND BETWEEN( VAL('0x'+m.cID),1, 0xFFF )

Response.Write( ;
'[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c1'+m.cId+'}]'+CRLF+ ;
'"MenuText"="'+m.cMenuText+'"' + CRLF + ;
'"clsid"="{1FBA04EE-3024-11D2-8F1F-0000F87ABD16}"'+ CRLF + ;
'"Icon"="'+m.ICODIR+m.cIcoFile+'"'+ CRLF + ;
'"HotIcon"="'+m.ICODIR+m.cIcoFile+'"'+ CRLF + ;
'"ButtonText"="'+ CHRTRAN( m.cMenuText, '&', '')+'"'+ CRLF + ;
'"Script"="'+m.SCRIPTDIR+ 'run.htm?'+m.cQuerystring+'"'+ CRLF + ;
'"Default Visible"="Yes"' + + CRLF + ;
 ;
'[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\MenuExt\'+ ;
  m.cMenuText+']' + CRLF + ;
'@="'+ m.SCRIPTDIR+m.cQueryString+'"'+CRLF )
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform