Do until loop statement , Visual Basic Programming

Do Until Loop Statement:

The statements within the do...until loop block executes till the condition given in until become true. The working of do...until loop is elaborated with the event Form_ Mouse

Down.

Do Until condition

Block of one or more VB statements

Loop

Whenever you click the mouse on the form, the event handler executes and produces the output as shown in the figure.

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y

As Single)

Dim i As Integer

i = 5

Do Until i = 0

Form1.Print "i is " & i

i = i - 1

Loop

End Sub

1811_do until loop statement.png

Figure: Do until loop

Posted Date: 10/9/2012 8:55:00 AM | Location : United States







Related Discussions:- Do until loop statement , Assignment Help, Ask Question on Do until loop statement , Get Answer, Expert's Help, Do until loop statement Discussions

Write discussion on Do until loop statement
Your posts are moderated
Related Questions
For ..... Next Repetition Statement: To demonstrate the working of for .. next control statement, put a command button and a label control on the form. The Handle clicks the e

Retrieval Methods: There are 3 ways to find a document. The primary method is a positional retrieval. This is achieved by keeping in mind where you left it. The next method is

DATA CONTROL The data control is used to connect to the database. Three properties are very necessary to connect to the database. The primary property is the database name. You

Question 1 Create a VB application to make the text bold, italic, underlined and also color the text (using checkbox, option button, textbox controls) Question 2 Create a

Problem 1. Describe the importance and usage of .net framework in visual Studio 2. Write a program to sort and display an array of integers in ascending order using the conc

For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi

types and concept of recurson

I''m trying to create a program in VB.net that will basically load the page within itself and allow you to input data via the program rather than going to the actual site using you

anumberisprimeornot

I have a project due tomorrow that I am really struggling in. Please help.