Adding buttons to Toolbar

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?
 
R

R. Harris

Nevermind. Instead of using string value "script" I used "exec". That
worked as I wanted it to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top