4. VbScript | Message Box: Spacing

So today we are going to be talking about the spacing of our Message Box text in VbScript. The code right below displays text in an unformatted manner. MsgBox “Message1Message2Message3” Output: But if you wanted to start the text on a new line? Use vblf. Note that ampersand & are needed on both sides like […]

Read More

3. VbScript | If – ElseIf – Else -Then Statements

Function: Option Explicit I want to begin by talking about a function called: Option Explicit The Vb Programmer should add this to the very beginning or top of his script to enable the Vb Script to check itself that all the variables are defined, spelled correctly, and that you aren’t re-using them. This is valuable […]

Read More

2. VbScript | Message Box: Constants

Remember to follow along by trying the codes here yourself! Use or lose it, as they say. Dialog Box Format So before we talked about the basic format that can be used for making dialog boxes: x=msgbox(“box message” ,vbtype, “box title”) & msgbox “box message” ,vbtype, “box title” Message Box Constants In this lesson we […]

Read More

1. VbScript | Message Box

Remember to try out the codes for yourself as an exercise. You lose what you don’t use, and the same can be said about knowledge. Today we are going to talk about the MsgBox function in VbScript. It’s a useful command that allows you to communicate with the user. Msgbox “Box Message”,Type,”Title” Breaking it Down: […]

Read More