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
DYNAMIC LINK LIBRARY   The dynamic link library (dll) permits one copy of a function to be shared among some parallel executing programs. The dll is a file that contains a num

Adding Events in VB   For adding the events in VB, first double click on the command button with the caption hello. The Private Sub command1_Click () and End Sub would be

INTRODUCTION TO VB: The Windows programming is an event driven programming. The VB uses the Hungarian Notation for naming the variables. It deals with new data types like HWND,

DEVICE CONTEXT The device context provides the essential drawing tools and the platform to draw. It helps to draw the text, shapes, lines etc. To create the device context, the

( Wage Calculator with Tax Calculations) Develop an application that calculates an employee’s earnings, as shown in Fig. 4.23. The user should provide the hourly wage and number of

steps of connecting database from vb6.0

Deleting Records: To remove a record use the Delete method. To delete the record from the customer table follow the coding as shown below: data1.RecordSource = "Customer"

how do i create a change calculator that gives the denominations of coins for an amount of change up to .99 cents

Variable Length Strings: The Strings can be declared using As or $ as shown in the code below; the msg and msg1 are the two strings and they are assigned the values using '='.

Deleting Handlers With Class Wizard: The handler can be deleted by using the class wizard. The class wizard will delete the prototype and message map entry. The user should ma