Sunday, 1 March 2015

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!

No comments: