get

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The statement in an asp page:

dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")

now gives this error:
VB err= 424,Object required

I believe it stopped working in July 2004 after a security update. I have
re-registered the appropriate dlls and ocxs.

Does anyone have an idea? I am trying to use this object so that I can
execute a batch file that was created earlier in the program.

Thanks!
 
MacKenzie said:
The statement in an asp page:

dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")

now gives this error:
VB err= 424,Object required

I believe it stopped working in July 2004 after a security update. I have
re-registered the appropriate dlls and ocxs.

Does anyone have an idea? I am trying to use this object so that I can
execute a batch file that was created earlier in the program.

Try this instead:

dim objShell
Set objShell = CreateObject("WScript.Shell")
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
I've tried that also, the error is VB err= 5,Invalid procedure call or argument
 
I've tried that also, the error is VB err= 5,Invalid procedure call or argument

Then you probably want to try reposting this in one of the developer groups
that are specific to asp and/or vbscript.
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
Thanks, I ill do so.

Tom Porterfield said:
Then you probably want to try reposting this in one of the developer groups
that are specific to asp and/or vbscript.
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 

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

Back
Top