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
i need to do my final project for my last year bsc honours degree in Business Information systems. I need to develop a system which is operational for hotel management system. th

Default Values for GDI Objects: The default color for the brush is white, pen is black, and default bitmap is null and the default font is system.

DDX - Dialog Data Exchange: The Data members can be related with specific controls in the dialog box. When the dialog box is displayed, the DDX will transfer the values into t

Goal Create a Visual Basic that allows a user to play a variation of Hangman. User Inputs • The user types a letter into the textbox. Functional Items 1. Read a series

Explain difference, Generic Variable: Create Object Ex:-Ole-Automation . No need refer the object library. What is Specific Variable: Binding Procedure Early & Late Binding ( Can

Assume you are creating an order entry and editing application for a book store. An order consists of a product, quantity, total price, payment type including Credit/Debit card acc

Beyond the simple string or numeric classifications, Variant can make added distinctions regarding the specific nature of numeric information. For instance, you can have numeric in

Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate

You can employ the SCRIPT element to add VBScript code to an HTML page. The SCRIPT Tag VBScript code is written inside paired SCRIPT tags. For instance, a process to test

what mean by programing