Free Source Code and Tutorials

Custom Search

17-Do Until Loop


In Visual Basic, all loops have a similar purpose that make block of statements to repeat a number of times.

The Do Until and the Do While loop is a bit similar to each other. The only difference of the Do Until loop is, it uses a  slightly different syntax.


Take note that if you are not careful with the syntax of Do Until it will result in an infinite Loop



This is the example in doing Do Until Loop.

  1. Dim i As Integer = 0
  2. Do Until i = 10
  4. i += 1
  6. MsgBox(i)
  7. Loop


Facebook Comments
(Visited 5 times, 1 visits today)
Share this

Check Your Domain Ranking


Add a Comment
  1. Its not my first time to go to see this website,
    i am browsing this web page dailly and take good data from here all the time.

    1. Thank you for visiting this site hope you’ll find it usefull. Please share this site to your friends.

Leave a Reply

Your email address will not be published. Required fields are marked * © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!

%d bloggers like this: