Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No Script Engine For File Extension VBS

Status
Not open for further replies.

jerjim

Programmer
Jan 4, 2001
85
PH
When I double-click on a .vbs script file to execute it,
I get the error message "There is no script engine for file extension VBS".
Thus I cannot execute VBS files.

But I have no problem executing JS files.

Can anyone help me on this?

 
try this...

Install a New Scripting Engine
Go to

Click "x86" (located to the right of US English).


Click STE51en.exe (located at the bottom of the page).


Select the Save to Disk option and save the file to the default location.


Double-click the STE51en.exe icon located on your Desktop


After the installation is complete, you can remove STE51en.exe from your Desktop by right-clicking the icon and clicking Delete.


Hope it works. Klae

You're only as good as your last answer!
 
Thanks for the help Klae but
I have already installed scripten.exe
But I'll install it again just to make sure.
I'm running Windows 2000 by the way.

Let you know what happens.

 
OK try this..
In your file types tab (in "View|Folder Options" or "Tools|FOlder Options" in an Explorer window)

See if there is a VBScript Script file (VBS) file type if there is then make sure the parameters are as follows..


Description of type:
VBScript Script File
(If creating a new file type...)Associated Extension:.vbs
In the actions have the follow four actions and make sure the actions are identical to what I type.


Edit -
C:\WINDOWS\Notepad.exe
Open -
C:\WINDOWS\WScript.exe "%1" %*
Print -
C:\WINDOWS\Notepad.exe /p
Open With MS-DOS Prompt -
C:\WINDOWS\COMMAND\CScript.exe "%1" %*
Lastly change the icon to the blue scroll icon in C:\WINDOWS\WScript.exe.


Now you need to edit your registry.
Please ONLY change and write to your registry what I tell here in this thread.


0.5 Run "Regedit"
1. locate "vbsfile" key(folder) under HKEY_CLASSES_ROOT.
2. Add a "ScriptEngine" key under vbsfile.
3. Click your newly created key, and double-click the (default) value and put the text "VBScript"
4. Add a "ScriptHostEncode" Key under vbsfile.
5. Click your newly created key, and double-click the (default) string value and put the text "{85131631-480C-11D2-B1F9-00C04F86C324}" in it.
6. Create a "ShellEx" Key under vbsfile
7. Create a "PropertySheetHandlers" Key under ShellEx
8. Create a "WSHProps" Key under PropertySheetHandlers
9. Click the newly created key and double-click the (default) string value and enter the text "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
10. Exit regedit and test out a VBS file.

Complicated registry stuff there. Please read it through and ask yourself if you can do this confidently before you go in. Please don't mess with any settings that "seem interesting".

Good luck.. Klae

You're only as good as your last answer!
 
Dear Klae:

Problem Solved. And thanks a million, billion, trillion for taking the time to help me out.
When I ran RegEdit, the parameters were already set as you had described so, the problem was really in the Tools|Folder Options, File Types Tab.
VBS Files were associated with the Xing Mpeg Player.
I tried to change the parameters but it still wouldn't work.
Finally, I deleted the VBS file extension from File Types, created a new VBS File extension and in the description associated it with VBScript Script File. Bwala!!! everything worked.

Problem now is when i click on an mpeg or mpg file, Windows Scripting Host is executed.
So back to File Types Tab to edit the Mpeg, Mpg extensions. HA HA HA.

I guess the problem was caused by the Xing Mpeg Player installation program.

Again thanks a million, billion, trillion.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top