Solved

VB Script - VBS - running them outside of MS Office apps?

Posted on 2014-07-20
4
304 Views
Last Modified: 2014-07-21
Do you need to be inside an MS Office application to run a VBS file? (Visual Basic Script)?

Also can I get a few learning sites for VB script?  I know very little about it.
0
Comment
Question by:brothertruffle880
  • 2
4 Comments
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 334 total points
ID: 40208258
No. The programming language within Microsoft Office files is Visual Basic for Applications aka VBA. VBS aka Visual Basic Script is a similar subset of Visual Basic, but it is stand-alone.
0
 
LVL 27

Accepted Solution

by:
MacroShadow earned 334 total points
ID: 40208262
0
 
LVL 13

Assisted Solution

by:duncanb7
duncanb7 earned 166 total points
ID: 40208268
Starting the VB Script for your first code from tutorial from MS site at
http://technet.microsoft.com/en-us/scriptcenter/dd940112.aspx

After that, you have test.vbs, you can run it at command-lin with "cscript test.vbs" or
open Window Explorer and search or locate the and click  test.vps file

Duncan
0
 

Author Closing Comment

by:brothertruffle880
ID: 40208416
Thanks!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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