ASP.NET Web Hosting Bringing you articles, reviews, news and happenings in asp.net hosting.


19
Feb/10
2

Is It Possible To Execute Windows Script Hosting Procedures In A Web Page Script.?

IE doesn't seem to support wsh objects and methods. I keep getting errors like "Object required 'WScript'" and "ActiveX component cannot create object 'GetObject'. Is there some libraries you can include to IE.
If not is there a way to call a .vbs or .js file from a web page?

Comments (2) Trackbacks (0)
  1. If you want to run the script on your server, you’d simply use ASP.
    If you want to run a script on your client’s machine, you’d have to use Active X. It’s a huge security fault to allow a website to run a script on a client’s machine.

  2. u can call a function written in some other .js file or u can call a vb function written in .vbs file but nowadays browsers will not allow u to run a script file directly from ur code because of security reasons.

Leave a comment


No trackbacks yet.

Preview on Feedage: outdoor-gas-grills-and-reviews Add to My Yahoo! Add to Google! Add to AOL! Add to MSN
Subscribe in NewsGator Online Add to Netvibes Subscribe in Pakeflakes Subscribe in Bloglines Add to Alesti RSS Reader
Add to Feedage.com Groups Add to NewsBurst Add to Windows Live Rojo RSS reader iPing-it
Add to Feedage RSS Alerts Add To Fwicki

Powered by Yahoo! Answers