Solved

What do i need runtime files to run a .vbs file?

Posted on 2003-11-13
5
196 Views
Last Modified: 2010-05-01
Do i need runtime files to run a .vbs file?
If so can you direct me to the correct link?
is it this one?
http://www.microsoft.com/downloads/details.aspx?FamilyID=bf9a24f9-b5c5-48f4-8edd-cdf2d29a79d5&DisplayLang=en


its only a basic .vbs file that launches word with a template and populates some values in the template. its just that the computer i want to run it on hasnt got a VB environment on it at all and therefore has no association to .VBS files.
0
Comment
Question by:mwoolger
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
Z_Beeblebrox earned 50 total points
ID: 9741448
Hi,

That is not the file you need, what you need is called "Windows Script Host", which you can download from here:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
It is part of the first two downloads.

Zaphod.
0
 

Author Comment

by:mwoolger
ID: 9746721
I downloaded the winnt one for my winnt box and it still doesnt recognise .vbs files. i thought at least it would have created a file association.
0
 

Author Comment

by:mwoolger
ID: 9746907
sorry i was wrong. it has created file associations but it only works for the administrator, it doesnt work for 'normal users' on the winnt box. i get an access denied msg when trying to run the vbs file. ideas?
0
 
LVL 7

Expert Comment

by:Z_Beeblebrox
ID: 9747973
I'm sorry, I don't know, it has been a couple of years since I worked with scripting.

Zaphod.
0
 

Author Comment

by:mwoolger
ID: 9748014
it was just access permissions on c:\winnt\system32\wscript.exe
sorted. ta!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now