Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

vbs puzzle

Thread Tools
 
Search this Thread
 
Old 5th Nov 2003, 04:07
  #1 (permalink)  
Per Ardua ad Astraeus
Thread Starter
 
Join Date: Mar 2000
Location: UK
Posts: 18,579
Likes: 0
Received 0 Likes on 0 Posts
vbs puzzle

W2000 Pro, this in the admin start-up folder, and it ran fine until around 2 weeks ago.

set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{NUMLOCK}"

Now I get a vbs error message on boot saying

Line 1
Char 1
The specified procedure could not be found
Code 8007007F
Source (null)

Any help appreciated.
BOAC is offline  
Old 5th Nov 2003, 04:48
  #2 (permalink)  
Ecce Homo! Loquitur...
 
Join Date: Jul 2000
Location: Peripatetic
Posts: 17,446
Received 1,603 Likes on 735 Posts
Codecharge Support
ORAC is offline  
Old 5th Nov 2003, 05:29
  #3 (permalink)  
Per Ardua ad Astraeus
Thread Starter
 
Join Date: Mar 2000
Location: UK
Posts: 18,579
Likes: 0
Received 0 Likes on 0 Posts
Thanks for quick reply, Orac. I had seen that item, but this problem seems to be simply not being able to run a vbs script - that item refers to Database problems?

Even on this first line

Set WshShell = WScript.CreateObject("WScript.Shell")

I get "Could not create object "WScipt.Shell" with the same Error Code, which seems a fairly basic error? I am holding back from going down the MDAC download route at the moment.

I am fairly new to 2000. What could be missing in my setup for running VBS?

EDIT: Oh! so simple! Somehow Wscript had 'uninstalled' itself and running 'Scripten.exe'..........has........cured it

Appreciate the help.

Last edited by BOAC; 5th Nov 2003 at 06:06.
BOAC is offline  
Old 5th Nov 2003, 06:15
  #4 (permalink)  
Ecce Homo! Loquitur...
 
Join Date: Jul 2000
Location: Peripatetic
Posts: 17,446
Received 1,603 Likes on 735 Posts
Could be a security issue. See here (25th June).

or:

"Looks like there is a problem with you Windows Scripting Host installation. You could download latest WSH from Microsoft - but first might be worth trying to re-register the wshom.ocx module ...
try the following command from "DOS" command line ...(first move to the directory containing the wshom.ocx file then .."regsvr32 wshom.ocx"
ORAC is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.