Click to See Complete Forum and Search --> : Javascript & ActiveX


maduas
May 10th, 2002, 02:48 PM
Hi,

I write a JavaScript code to use ActiveX functions. I put it on my server. When I call from IExplorer the aplication run on my computer (client) but I like to run the aplication on the server. It is possible? Anyone help me?

Regards.

_Leo_
May 12th, 2002, 04:12 PM
No, it is not.

ActiveX and Javascript are both client-side.

May be you are looking for some server-side scripting like ASP, PHP, etc.

What do you need to do?

----------------------------
_Leo_
http://www.drk.com.ar

SButler
May 15th, 2002, 02:29 PM
Look at the "runat=server' syntax. These allow execution of the script on the server.

Sam Hobbs
May 17th, 2002, 01:44 PM
Originally posted by _Leo_
ActiveX and Javascript are both client-side.

May be you are looking for some server-side scripting like ASP, PHP, etc.[/url] ActiveX and Javascript are client-side if executed client-side and are server-side if executed server-side. It is absolutely definitely possible to use an ActiveX control (such as CDO) in a server-side JavaScript code.

I do not think that ASP is a scripting language. To use ASP, a scripting language such as JavaScript or VBScript must be used.