コンボボックス 1 で選択内容を変更すると、コンボボックス 2 の内容を更新できません。何が欠けているのか、間違っているのでしょうか?
Imports System.IO
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'get sub directory\ toolpalette group names...
ComboBox1.DataSource = New DirectoryInfo("C:\VTS\TREADSTONE LT\ATC").GetDirectories()
Dim filelocation As String
filelocation = ("C:\VTS\TREADSTONE LT\ATC\" & ComboBox1.Text & "\")
'gets file\ paltte names...
For Each BackupFiles As String In My.Computer.FileSystem.GetFiles(filelocation, FileIO.SearchOption.SearchTopLevelOnly, "*.*")
ComboBox2.Items.Add(IO.Path.GetFileNameWithoutExtension(BackupFiles))
Next
'reloads the combobox contents...
ComboBox1.Refresh()
End Sub
End Class