Solved

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

Posted on 2014-07-20
4
301 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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