Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load For Each folder As String In System.IO.Directory.GetDirectories(".\Created\") ListBox1.Items.Add(Path.GetFileName(folder)) ListView1.Items.Add(Path.GetFileName(folder)) Next End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick Listbox1.Refresh() Listbox1.Update() End Sub
FileSystemWatcher
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)