Hello,
I have a CheckedListBox that will list common RIA applications. I want to check if the object assigned to 'itemchecked' is equal to java and if so to download it. Please see below:
Dim itemChecked As Object
For Each itemChecked In CheckedListBox1.CheckedItems
If itemChecked.ToString = "java" Then
Dim myWebClient As New Net.WebClient()
myWebClient.DownloadFile(" "C:\jre_6u29.32.exe")
End If
Next
Any help would be greatly appreciated!
PB
I have a CheckedListBox that will list common RIA applications. I want to check if the object assigned to 'itemchecked' is equal to java and if so to download it. Please see below:
Dim itemChecked As Object
For Each itemChecked In CheckedListBox1.CheckedItems
If itemChecked.ToString = "java" Then
Dim myWebClient As New Net.WebClient()
myWebClient.DownloadFile(" "C:\jre_6u29.32.exe")
End If
Next
Any help would be greatly appreciated!
PB