[RESOLVED] need help with array
I want to have an array with 2 columns - a list of applications in the first and the command to install them in the 2nd column. I want to display the array in a checked list box and based on selections run the command in the 2nd column
I have done single column arrays but never tied them to commands
any ideas where to begin? :afrog:
Code:
Private Sub FindApp()
Dim AppName(10) As String
Dim i As Integer
AppName(0) = "Anira"
AppName(1) = "AutoCad Mechanical X64"
AppNAme(2) = "AutoCad Electirical X64"
AppNAme(3) = "AutoCad Civil X64"
AppName(4) = "SAP 7.20 X64"
AppName(5) = "Office 2010 Professional"
AppName(6) = "Visio 2010"
AppName(7) = "Project 2010"
AppName(8) = "ProphetX"
AppName(9) = "Rhumba"
For i = 0 To 9
AppListBox.Items.Add(AppName(i))
Next i
End Sub