activex is undefined

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    activex is undefined

    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="javas cript">
    var prog = "d:\\ASpPoerter \\testnycard.ex e";
    var oshell =new ActivexObject(W script.Shell);
    ret=oShell.run( prog ,1,True);
    window.close;
    <script>
    does anybody have idea?


    Shweta
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    Maybe this or this will help I've never used the shell commands looks like fun!


    HTH,
    Aric

    Comment

    • shweta123
      Recognized Expert Contributor
      • Nov 2006
      • 692

      #3
      Originally posted by AricC
      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

      Comment

      Working...