[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 125
  • Last Modified:

Run a VB Script in HTML & Javascript

Hello experts,

I would like to create in my HTML page a click button which allow every user to run a VB Script.
I don't how how I can ref a .vbs file through HTML & Javascript.

Thank you in advance for your help.
  • 2
2 Solutions
Naitik GamitSoftware DeveloperCommented:
Please refer this link to understand from basic how to perform vbscript in html&javascript.

Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
you would only be able to run a vbscript file on the server, and not on the client side, is that what you mean to do?

if you're looking to run a vbscript file on the client by a button click, forget about it, it's a huge security breach. The best you could do is have a link to the vbs file, have the user download it, then provide instructions to them on how to run it
LD16Author Commented:
I would like that every user can download my vbscript by clicking on a link.
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
then just create your basic hyperlink tag:

<a href=/pathToFile/someFile.vbs">click to download vbs file</a>

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now