208 Part II Programming Fundamentals
To Do This
Loop until a specific
condition is True
Use a Do loop with the Until keyword. For example:
Dim GiveIn As String
Do
GiveIn = InputBox("Say 'Uncle'")
Loop Until GiveIn = "Uncle"
Loop for a specific
period of time in your
program
Use the Timer control.
Insert a code snippet
into your program
In the Code Editor, position the insertion point (I-beam) at the location
where you want to insert the snippet. On the Edit menu, click IntelliSense,
and then click Insert Snippet. Browse to the snippet that you want to use,
and then double-click the snippet name.
Add or reorganize
snippets in the Insert
Snippet list box
Click the Code Snippet Manager command on the Tools menu.