Posted on: 9/5/2014 3:29:03 PM | Views : 424

I created a function to return Boolean in which there are another 3 sub-functions. All sub-function is return Boolean as well
Private functiion Myfunction() as boolean For i As Integer = 0 To listbox.Items.Count - 1 MemberFileName = Path.GetFileName(listbox.Items(i)) if sub-function1(i) then if sub-function2(i) then if sub-function3(i) then next End Function
How to add a code to make "if error goto next", that is, make i increasing by 1 ? For example, if i=3, sub-function2(3) may return false but I want program skip the error and then run i=4.

Go to the complete details ...