Nov 28, 2003 #1 K KeenR1214 New member Joined Nov 28, 2003 Messages 4 How does one "skip" over lines of code in VB.NET? Ex. Private Sub Btn_click If a = 1 than Skip to end of this sub end if do this do this do this but dont really because a = 1 so this is skipped do this do this skip to here End Sub
How does one "skip" over lines of code in VB.NET? Ex. Private Sub Btn_click If a = 1 than Skip to end of this sub end if do this do this do this but dont really because a = 1 so this is skipped do this do this skip to here End Sub
Nov 28, 2003 #2 K KeenR1214 New member Joined Nov 28, 2003 Messages 4 Never mind, just figured it out.
Nov 29, 2003 #3 J joeybagadonutz Well-known member Joined Nov 6, 2003 Messages 72 so how did you do it? : )
Nov 29, 2003 #4 E Engine252 Well-known member Joined Jan 8, 2003 Messages 99 exit sub if you got more questions just ask. theres no such thing as stupid questions only stupid answers. its by giving the knowledge of good programmers the young new ones that greate software will be written in the future ;-)
exit sub if you got more questions just ask. theres no such thing as stupid questions only stupid answers. its by giving the knowledge of good programmers the young new ones that greate software will be written in the future ;-)
Nov 29, 2003 #5 Robby Moderator Joined Nov 17, 2002 Messages 3,461 Location Montreal, Ca. User Rank *Expert* Instead of Exit Sub you should structure your If statement properly.