Saturday, 7 January 2017

VBScripts Fundamentals - Part1

Using concatenate, "&_" and "vbcrlf" in VB Script

Watch Video
Using concatenate, "&_" and "vbcrlf" in VB Script
- Concatenate using plus sign(+) and ampersand (&).

- String in multiple lines using "&_" and ''+_''.
   ex: Sql query as string

- To print in different lines use "vbcrlf" (it is like '\n').
    ex: "Hello welcome" --> "Hello" &vbcrlf& "welcome"

Thursday, 5 January 2017

VB Script Basic Example

Watch Video

Writing the VB Script in
- Notepad
- Notepad++
- VbsEdit

Saving the file
Save the file  as <<File Name>>.vbs

Execution the VB Script.
- Command Prompt
- Editor
- Double click on VB Script file