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
Associating Images to Toolbars: 1. Add an Image list to your form from the tool box. 2. Pick the custom property of the image list. 3. Click the images tab. 4. Select

STEPS TO CREATE A RECTANGLE IN THE CLIENT REGION 1. Generate a SDI application and name it as a brush. 2. Handle the WM_LBUTTONDOWN message for the CBrushView object id.

Executesql: The ExecuteSQL is used for executing the query on the database. The CRecordset uses the RFX mechanism to replace data between field data members of the record set

Creating an application that will calculate the cost of a car rental based on the number of days that the car is rented. the cost of the car rental includes the cost of the car its

Files in a SDI and MDI Application: Both the SDI and MDI projects have 4 implementation files (.cpp extension). These are the files equivalent to the Document Class, View Clas

STORAGE AND RETRIEVAL SYSTEMS   The storage system is a depository. It is a physical container and gives mechanisms to put in the depository and take them back. The retrieval

PROGRAM TO ZOOM A RECTANGLE AS YOU DRAG 1. Generate a SDI application 2. Declare the 2 member variables clicked of Boolean type and m_ptoldpt of CPoint type. Use the class t

Use the While keyword to verify a condition in a Do...Loop statement. You can verify the condition before you enter the loop (as illustrated in the following ChkFirstWhile instance

The user has to enter a starting balance, the dollar amount of deposits, and the dollar amount of withdrawals. the program then has to calculate the balance

i need sample balance sheet form in vb.net