danglesauce19's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
7 (0.01 per day)
Joined:
20-February 12
Profile Views:
1,491
Last Active:
User is offline Mar 16 2013 11:38 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
BMW
Dream Kudos:
0
Icon   danglesauce19 has not set their status

Posts I've Made

  1. In Topic: Loop into List Box with value from 1-50 in reverse order

    Posted 16 Mar 2013

    I got it to work. Not the best idea to do homework while celebrating St Patrick's day haha
  2. In Topic: Loop into List Box with value from 1-50 in reverse order

    Posted 16 Mar 2013

    This is what I have now. It outputs:

    Index is: 50 Value is: 49
    Index is: 50 Value is: 48
    etc.

    Here's my code:

    Public Class Form2
    
        Private Sub btnFill_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFill.Click
            Dim intArray(50) As Integer
            Dim i As Integer
            Dim j As Integer
            For i = 0 To 49
                i = i + 1
            Next
            For j = 50 To 1 Step -1
                intArray(j) = j - 1
                lstResult.Items.Add("Index is:" & i & " Value is: " & intArray(j))
            Next j
        End Sub
    End Class
    
    

My Information

Member Title:
New D.I.C Head
Age:
21 years old
Birthday:
June 30, 1993
Gender:
Location:
New Jersey
Years Programming:
1
Programming Languages:
c++

Contact Information

E-mail:
Private

Comments

danglesauce19 has no profile comments yet. Why not say hello?