WScript Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AbdulBaari

    WScript Error

    Dear all,

    can anyone solve this problem. Im beginner in VBScript.Im getting an
    errorregarding "Wscript" means whenever I use WScript object, it shows
    Errors as " Object required: WScript" & "Variable undefind :
    Wscript" . Mostly I get "Object required: Wscript" erroe message
    whenver I declare
    WScript object.

    Can anyone please help me to solve this problem.

    bye bye
  • Evertjan.

    #2
    Re: WScript Error

    AbdulBaari wrote on 08 mrt 2008 in microsoft.publi c.inetserver.as p.general:
    can anyone solve this problem. Im beginner in VBScript.Im getting an
    errorregarding "Wscript" means whenever I use WScript object, it shows
    Errors as " Object required: WScript" & "Variable undefind :
    Wscript" . Mostly I get "Object required: Wscript" erroe message
    whenver I declare
    WScript object.
    >
    Can anyone please help me to solve this problem.
    Please show the ASP-vbs code line where the error points to.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)

    Comment

    • Anthony Jones

      #3
      Re: WScript Error


      "AbdulBaari " <abdal.baari@gm ail.comwrote in message
      news:18a357b9-f5f7-4dd9-b2f0-d70786b3a2a9@d4 g2000prg.google groups.com...
      Dear all,
      >
      can anyone solve this problem. Im beginner in VBScript.Im getting an
      errorregarding "Wscript" means whenever I use WScript object, it shows
      Errors as " Object required: WScript" & "Variable undefind :
      Wscript" . Mostly I get "Object required: Wscript" erroe message
      whenver I declare
      WScript object.
      >
      Can anyone please help me to solve this problem.

      WScript is not an intrinsic object to VBScript. It is added to the VBScript
      context created by the WScript.exe or the CScript.exe used to execute VBS
      files.

      ASP pages create a VBScript context but do not add the WScript object to the
      context. Instead things such as Session, Response and Request are added to
      the context.

      What feature of WScript are you trying to use?

      --
      Anthony Jones - MVP ASP/ASP.NET


      Comment

      Working...