I'm trying to get a File watcher to update a que class and then process the files squentially without any luck.
Private Sub FileSystemWatcher1_Changed(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles QUEwatcher1.Created
Dim i As String
Dim myQ As System.Collections.Queue
Dim Filename as string
Filename = e.Name ' e.name is the name of the file activacting
'Filewatcher
i = Filename
myQ.Enqueue(i)
CountItemsQuelbl.text = myQ.Count()
myQ.Peek()
End Sub