Results 1 to 9 of 9

Thread: [RESOLVED] need help with array

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2012
    Location
    St. Louis, MO
    Posts
    166

    Resolved [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?

    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
    Last edited by sheetzdw; Feb 24th, 2012 at 05:57 PM. Reason: not done editing

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width