Select case - control statement, Visual Basic Programming

Select Case:

The Select Case is used for handling the multiple paths. The Select Case computes the expression and depending on the value of the equivalent Case statement executes.

Select Case expression

Case value1

Block of one or more VB statements

Case value2

Block of one or more VB Statements

Case value3

Block of one or more VB statements

Case value4

Case Else

Block of one or more VB Statements

End Select

A function WeekDay is used that reads the day, date and time from the computer to demonstrate the use of the select case.

Posted Date: 10/9/2012 8:21:18 AM | Location : United States







Related Discussions:- Select case - control statement, Assignment Help, Ask Question on Select case - control statement, Get Answer, Expert's Help, Select case - control statement Discussions

Write discussion on Select case - control statement
Your posts are moderated
Related Questions
Assume that s is a string variable that is supposed to contain a value to be converted to integer. Write a fragment of code that converts the value to integer variable and displ

Each piece of data is passed in your process using an argument. Arguments serve like placeholders for the data you wish to pass into your process. You can name your arguments along


i need sample balance sheet form in vb.net

Sets or returns context ID for topic in Help File. If Help file is indicated in the VBScript Err Object HelpFile Property, the HelpContext property is utilized to display automatic

A variation on the If...Then...Else statement lets you to choose from various alternatives. By adding up Else If clauses expands the functionality of the If...Then...Else statement

Write a program that permits the user to order a product from inventory. The user selects the product and enters the quantity. If there is sufficient quantity on hand of the produc

Use of WM_SIZE Message: Whenever the WM_SIZE message is handled and the graphical objects on the output window will also change consequently to the output window. The functi

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

You are given a console program in both VB and C# that uses a class CElevator (ElevatorAppAssign). The main modules are in the assign directory class files. Below is a discus