|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
getting object required error using Wscript object
<i><b>Originally posted by : Tom (thomas.m.wise)</b></i><br />Hello,<br /><br />Background: using WSH 5.6 on Windows NT 4, SP6<br /><br />I receive an object required error when I attempt to use the Wscript object to create objects in my ASP/VBScript code. Example:<br /><br />Set WshShell = wscript.CreateObject("WScript.Shell")<br /><br />I get the error "Object Required 'wscript'"<br /><br />The documentation on the windows scripting host states that because the wscript object is located in system root, it does not need to be instantiated before used. Intelli-sense doesn't even kick in. Any ideas why it's not being recognized?<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Chris (cornacchia.c@keystonebath.com)</b></i><br />I am getting the same error. Does anyone have a solution. I am at my witts end.<br /><br /><br />------------<br />Tom at 5/3/2002 9:35:32 AM<br /><br />Hello,<br /><br />Background: using WSH 5.6 on Windows NT 4, SP6<br /><br />I receive an object required error when I attempt to use the Wscript object to create objects in my ASP/VBScript code. Example:<br /><br />Set WshShell = wscript.CreateObject("WScript.Shell")<br /><br />I get the error "Object Required 'wscript'"<br /><br />The documentation on the windows scripting host states that because the wscript object is located in system root, it does not need to be instantiated before used. Intelli-sense doesn't even kick in. Any ideas why it's not being recognized?<br />
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : John (jlemberger@sbcounty.gov)</b></i><br />I'm also having this problem. I've got it working on one machine, but not another and I can't see the difference. Using Win2000 with IE6.<br />Have you guys figured this out yet? Let me know because I've spent a lot of time on this. Thanks.<br /><br />------------<br />Chris at 8/12/2002 12:04:23 PM<br /><br />I am getting the same error. Does anyone have a solution. I am at my witts end.<br /><br /><br />------------<br />Tom at 5/3/2002 9:35:32 AM<br /><br />Hello,<br /><br />Background: using WSH 5.6 on Windows NT 4, SP6<br /><br />I receive an object required error when I attempt to use the Wscript object to create objects in my ASP/VBScript code. Example:<br /><br />Set WshShell = wscript.CreateObject("WScript.Shell")<br /><br />I get the error "Object Required 'wscript'"<br /><br />The documentation on the windows scripting host states that because the wscript object is located in system root, it does not need to be instantiated before used. Intelli-sense doesn't even kick in. Any ideas why it's not being recognized?<br />
|
|
#4
|
|||
|
|||
|
<i><b>Originally posted by : Ryan (rconrad@pct.edu)</b></i><br />Set oShell = server.CreateObject("wscript.shell")<br /><br />This has seemed to work for me, although I'm still in the early testing phases. I just replaced the "WScript" with "server".<br /><br /><br />------------<br />John at 8/27/2002 3:09:45 PM<br /><br />I'm also having this problem. I've got it working on one machine, but not another and I can't see the difference. Using Win2000 with IE6.<br />Have you guys figured this out yet? Let me know because I've spent a lot of time on this. Thanks.<br /><br />------------<br />Chris at 8/12/2002 12:04:23 PM<br /><br />I am getting the same error. Does anyone have a solution. I am at my witts end.<br /><br /><br />------------<br />Tom at 5/3/2002 9:35:32 AM<br /><br />Hello,<br /><br />Background: using WSH 5.6 on Windows NT 4, SP6<br /><br />I receive an object required error when I attempt to use the Wscript object to create objects in my ASP/VBScript code. Example:<br /><br />Set WshShell = wscript.CreateObject("WScript.Shell")<br /><br />I get the error "Object Required 'wscript'"<br /><br />The documentation on the windows scripting host states that because the wscript object is located in system root, it does not need to be instantiated before used. Intelli-sense doesn't even kick in. Any ideas why it's not being recognized?<br />
|
|
#5
|
|||
|
|||
|
Object Required WSCRIPT
I am also facing sam problem.Object reqired WScript
please post ur idias ASAP |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > getting object required error using Wscript object |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|