Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get a form-button to call a .vbs script?

Status
Not open for further replies.

opac

MIS
Jan 30, 2007
11
US
I also asked this in the Dreamweaver forum, but I think this is probably a better place for this question.
-----------
I have a simple .vbs script that maps a printer. I would like to add this to a web-site with a form button.

How do I get the form button to call the .vbs script?
 
Here is an example of how to do that:

Code:
<form id="frm">
   <input type="button" name="button1" id="button1" value="Click Here to Run Script">
   <script for="button1" event="onClick" language="vbscript">
   

   //In here do all your VB coding      
   


   </script>
</form>

[monkey][snake] <.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top