WScript Error

A

AbdulBaari

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
 
E

Evertjan.

AbdulBaari wrote on 08 mrt 2008 in microsoft.public.inetserver.asp.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.
 
A

Anthony Jones

AbdulBaari said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,082
Messages
2,570,588
Members
47,209
Latest member
Ingeborg61

Latest Threads

Top