About 586,000 results
Open links in new tab
  1. for loop - Breaking/exit nested for in vb.net - Stack Overflow

    Mar 15, 2011 · How do I get out of nested for or loop in vb.net? I tried using exit for but it jumped or breaked only one for loop only. How can I make it for the following: for each item in itemList for ...

  2. VB.NET - How to move to next item a For Each Loop?

    For Each I As Item In Items If I = x Then ' Move to next item Else ' Do something End If Next Just wondering if there is a way to jump to the next item in the Items list. I'm sure most will properly be …

  3. While loop in VB.NET - Stack Overflow

    I have some little issues with syntax. I am used to C# and just started VB.NET. I am trying to do a while loop when it loops through the items from a list. What is the syntax that I am doing wrong?

  4. vb.net - How can I iterate through the alphabet in Visual Basic ...

    Mar 25, 2011 · I need to generate a loop that would iterate through each capital letter of the alphabet using Visual Basic (2008). What's the cleanest way to do this?

  5. Loop through Generic List in vb.net - Stack Overflow

    In my VB.net application I am populating my customer object and looping through it as shown below. As there are thousands of customers, I want to do it 500 customers at a time. Is there anyway I ...

  6. .net - For each loop in vb.net - Stack Overflow

    How do I use for loop in vb.net something like dim start as integer Dim customers as New List(Of Customers) Customers=dataAcess.GetCustomers() For each start=500 in Customers.count 'Do …

  7. Dates in For Loop in vb.net - Stack Overflow

    In vb.net I have two data values as shown below: Dim startp as datetime Dim endp as datetime I have a function called ProcessData(soemdate) which processes dataporting. In VB.net is there a way I...

  8. How do I loop through a VB.Net array? - Stack Overflow

    Obviously, this does not work. Because My array contains both integers and strings, For Each FieldChoice As String In Field1Choices does not work. How can I loop through the Field1Choices …

  9. vb.net - For Loops And Arrays - Stack Overflow

    Oct 23, 2012 · Change the responses declaration to Dim responses(9) As Integer. VB.NET uses zero (0) as the lower bound of an array (and almost every other type of collection) so the statement will …

  10. How to loop through all the properties of a class? - Stack Overflow

    Use Reflection: Type type = obj.GetType(); PropertyInfo[] properties = type.GetProperties(); foreach (PropertyInfo property in properties) { Console.WriteLine("Name: " + property.Name + ", Value: " + …