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


Do Until condition

Block of one or more VB statements


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


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 have connected my visual basic 2010 express in ports and use it to send sms but it failed... now my teacher said that i have to use my LAN not port to send it instead..... please

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

Events: The Controls are placed on a form and then to make them functional an "event procedure" is related with the control object. An event process is what happens in respons

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

ToolTip: The ToolTip property is used to flash a message regarding a control object when the mouse pointer moves over that object for a couple of seconds. Pick a control and c

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

1.   Make project in Visual Studio 2008. 2.   Controller Class is used for functioning. 3.   Login Form where three people can login like manager, staff and receptionist we c

Check Box: The check box control takes the value as on or off or grayed. The grayed one is neither on nor off. The user can transform the setting of the grayed check box.

While several operations take place in an expression, each part is evaluated & resolved in a predetermined order called operator precedence. You can employ parentheses to override

PROJECT TO CREATE SPLITTER WINDOW   1. Generate the SDI application. 2. Enlarge the class tab page. 3. Select the view class. 4. On right clicking the menu pops up.