Visual Basic 6.0
In Visual Basic 6.0, the GoSub statement calls a sub-procedure within a procedure. The On ... GoSub and On ... GoTo constructions, also known as computed GoSub and computed GoTo, provide compatibility with early versions of BASIC.
The While ... Wend construction loops through code while a specified condition is true.
Visual Basic .NET
In Visual Basic .NET, you can call procedures with the Call statement, and the GoSub statement is not supported. You can perform multiple branching with Select...Case statements, and the On ... GoSub and On ... GoTo constructions are not supported. However, Visual Basic .NET still supports the On Error statement.
Visual Basic .NET retains the While ... Wend construction, but replaces the Wend keyword with the End statement. The Wend keyword is not supported.