A Introduction to VBScript Programming

25,271

13

6

Posted

Introduction: A Introduction to VBScript Programming

VBScript is a simple programming language executed by Windows Script Host it can Be coded with Notepad or Notepad++
its extension is .vbs and can be executed on ANY windows machine VBS stands for Visual Basic Script therefore it is basic so no 
icons / images can be used with it. Over the years computing has become more common and complicated VBScript is used in SO
many applications it is normally used for message boxes (Msgbox) or input boxes (inputbox) keep in mind it is A LOT more simple than C++ C# or executable files (Applications) .

Step 1: Making a VBScript Error Message

1. First open Notepad then copy this : msgbox("message here"),4+16,("title here") into notepad.
2. Save The file as whatever.vbs
3.Open The File it should look like this:

Step 2: Editing the Error

  Now you can edit the message e.g msgbox("highvoltageguy"),4+16,("instructables") That will look like:

Step 3: Input Boxes

Now here's where VBScript gets fun here's an example : inputbox("Sup"),,("inputbox") save as yourname.vbs start it and what do you see an inputbox! (if it worked) now you know basic programming!

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • Paper Contest 2018

    Paper Contest 2018
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

6 Comments

This is also a good introduction to VB6 programming and VBA programming

yes it might not be a BIG tutorial but it teaches something

Instructables about programming languages aren't anything like as useful as instruction on how to do something worthwhile with programming.

L

lemonie means that you should teach us how to code something worthwhile, which this is something worthwhile and she thinks that coding is easy. Yes I know that coding takes years to learn, but lemonie is not very bright.
THANK YOU FOR THIS INSTRUCTABLE.

FBTEMUFICICQMDS.jpeg

He means that it's not worth doing a tutorial on something if your not going to to us anything useful in it.