Results 1 to 3 of 3

Thread: Launch VB script from HTML

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    13

    Launch VB script from HTML

    Is it possible to launch a vbscript from within a webpage. I want to call a .vbs file and execute it, or can I just implement it into a ASP. I'm new to the ASP's so Please break it down for me.


  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You can execute server-side vbscript through ASP. You can execute client side vbscript on a web page between script tags just like you can with javascript. You can attempt to have the .vbs downloaded, but the user will be given a choice of whether to run it or not. If they would run it, they probably should have their computer taken away from them.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    Addicted Member
    Join Date
    Aug 2000
    Posts
    181
    Most businesses now also have disabled the running of VBS and JS scripts on the clients to stop virii like Melissa and the AnnaKournikova virus from attacking them and spreading because in a big company like a bank, it could cause all sorts of problems.

    Also, if you decide to use VBScript in the code like you would JavaScript, people are likely to complain lots at you if anything goes wrong as I believe VBScript is much easier to cause damage to other peoples computers than JavaScript is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width