Jump to content

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


Guest Hiyall

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...