Adding buttons to Toolbar

  • Thread starter Thread starter R. Harris
  • Start date Start date
R

R. Harris

I followed the directions to add a button to IE's toolbar found here:
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/ext/tutorials/button.asp

The button appears as it should but it does not execute my script. I
created a simple VBscript file to simply open another instance of IE and
navigate to a webpage. I even removed all of the script and only added
msgBox("test") but it did not execute that, either.

I tried on two different machines, both running IE 6 and XP, following the
directions closely and double checked everything.

The vbscript file is a .vbs file.

Am I missing something? IS there more to the script file than just throwing
some script in a text file and naming it as a .vbs?
 
Nevermind. Instead of using string value "script" I used "exec". That
worked as I wanted it to.
 
Back
Top