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

DOCUMENT VIEW ARCHITECTURE The Document/View architecture is used to build an application based on the Microsoft Foundation Classes library. The Document/View architecture is s

MODELESS DIALOG The Dialog boxes are either modal or modeless. The modal dialog box should be closed (Unloaded or hidden) before you can continue the working with the rest of t

i have a database i want mange it network and i want write it with vb.net so how i can do this

If Then Else: The control statement If Then Else is used for computing a condition and taking the action based on the condition. If the condition is true then the section will

I have an excel list with a lot's of serial numbers that have been entered by hand from PDFs online (1-5 serial numbers per PDF). Many of the values are duplicates, wrong, or conta

Variant Type: If no data type is related with the VB variables, it takes the default variant type. The variable x will be of the variant type when the two declarations below a

MESSAGE LOOP   The message loop is the code in the Win 32 based application. It retrieves messages from the application's message queue and passes these to the related window

In VBScript, You create user-defined constants using the Const statement. It lets you create string or numeric constants along with meaningful names and let you to assign them lite

Graphics Device Interface - GDI:   The GDI is a windows API. The GDI uses a set of generic graphics objects to draw to the screen, to the memory and printers. Therefore the p