¶ … VBScript and Networking Systems
VBScript is the scripting language developed by Microsoft to assist web developers to create a dynamic website. Typically, VBScript has unlocked different tools that include web server, assessing web server, ability to print date and time. More importantly, the VBScript assists web ASP (Active Server Pages) developers to understand the sophisticated ASP programming language. On the other hand, computer network is a data telecommunication network that allows data exchange across the network systems.
Objective of this paper is to discuss the VBScript and networking.
VBScript Decision-Making Process and Loop Structures
VBScript decision-making assists VBScript programmer to edit the execution flow with the assistance of scripts. If statement assists the VBScript to carry out Decision-Making process and the If statements, include:
If…Then
If…Then…Else
ElseIf
If statement is a Boolean expression that is followed by one or two or more statements. For example, if a condition is true, the statements within If condition(s) are executed. However, if the Condition is false, the program executes statements after If loop.
VBScript syntax of If statement is as follows:
If (boolean_expression) Then
Statement 1
Statement n
End If
Example of VBScript program If statement is as follows:
Dim b: b = 30
Dim c: c = 20
If b > c Then
Document.write "b is Greater than c"
End If
The result of above code is:
b is Greater than c
If…Then…Else
This statement assists in doing one task if the condition is affirmative or true, however, a user can do another task if the condition or issue is false.
The VBScript syntax of If…Then…Else statement is:
If (boolean_expression) Then
Statement 1
Statement n
Else
Statement 1
Statement n
End If
Example of VBScript program of If..then ..else statement is as follows:
Dim b: b = 10
Dim c: c = 35
If a > b Then
Document. write "b is Greater"
Else
Document.write "b is Greater"
End If
The result of the above code is:
c is Greater
Else if Statement
Else if statement assists a programmer to execute many expressions.
VBScript Syntax of an ElseIf statement is:
If (boolean_expression) Then
Statement 1
Statement n
ElseIf (boolean_expression) Then
Statement 1
Statement n
ElseIf (boolean_expression) Then
Statement 1
Statement n
Else
Statement 1
Statement n
End If
Example
Dim a = -6
ElseIf a < 0 Then
Document.write "a is a NEGATIVE Number"
If a > 0 Then
82). Both desktop and Web widgets have the same basic components. Fundamentally, they use Web compatible formats, even if intended to run in a desktop environment. This means that the core of the widget is HTML and CSS code which contains the actual content of the widget, namely text, linked images/video or content pulled from a server of Web service. Alternatively, the widget content can be created using Flash, although
This problem was solved in the following way: the program uuencode which is used by email-clients transforms its binary code (code of bits and bytes) into text code using ASCII table principle and it's send in the form of text character set in the following form (begin file name reports text translated binary body end). The recipient's email-client executes uudecode program and transforms it to binary primary code. Telnet Telnet is
Our semester plans gives you unlimited, unrestricted access to our entire library of resources —writing tools, guides, example essays, tutorials, class notes, and more.
Get Started Now