Jump to content

How do I start a vbscript from a java server page?


Guest Hiyall
 Share

Recommended Posts

Hi Ya'll,I am trying to call a vbscript from a java server page. I have tried <script language="VBScript" src="catinahat.vbs" /> (Cat in a hat is just my test file which in itself calls thing1.vbs and thing2.vbs) My real files create an Active Directory account, activate email accounts, and append to a log. Anyway, I want to kick off the vbs file as soon as the jsp page loads. Any ideas?

Link to comment
Share on other sites

  • 2 weeks later...

hey try thishttp://www.faqts.com/knowledge_base/view.p...d/18026/fid/426or if you don't need to do any processing befor ethe javascript is run then just include this in hte <head> of your page.<script language="VBScript" src="catinahat.vbs"></script><script>onload=function InitPage(){ call first function from .vbs}</script>Substitue the VBScript equivalent for the javascript provided. Sorry I haven't touched VBScript in a long time and am very rusty.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...