469,648 Members | 1,183 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,648 developers. It's quick & easy.

activex is undefined

shweta123
692 Expert 512MB
hello
I am trying to create a wscript.shell object through javascript. I am getting the message as 'Activex is undefined' even after changing the setting for internet Tools.
This is my code
<script language="javascript">
var prog = "d:\\ASpPoerter\\testnycard.exe";
var oshell =new ActivexObject(Wscript.Shell);
ret=oShell.run(prog ,1,True);
window.close;
<script>
does anybody have idea?


Shweta
Nov 20 '06 #1
2 3299
AricC
1,892 Expert 1GB
Maybe this or this will help I've never used the shell commands looks like fun!


HTH,
Aric
Nov 20 '06 #2
shweta123
692 Expert 512MB
Maybe this or this will help I've never used the shell commands looks like fun!


HTH,
Aric

even that is not working its just starting the process but i cant c anything on the screen.

shweta
Nov 27 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by wang xiaoyu | last post: by
2 posts views Thread by Fie Fie Niles | last post: by
4 posts views Thread by mike | last post: by
reply views Thread by Brett | last post: by
6 posts views Thread by hufaunder | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.