G
Guest
Hi,
I have a very simple routine that i Call this function ~ 50 times in a loop
to copy a directory from a src to a destination.
On the 2nd call, I get this msg: "...BacgroundWorker is currently busy..."
What are my option to resolve this issue...?
thx in advance
Me.BackgroundWorker1.RunWorkerAsync()
Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e
As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
Dim worker As System.ComponentModel.BackgroundWorker = CType(sender,
System.ComponentModel.BackgroundWorker)
FileIO.FileSystem.CopyDirectory(FromString, LocString,
FileIO.UIOption.AllDialogs, FileIO.UICancelOption.DoNothing)
End Sub
I have a very simple routine that i Call this function ~ 50 times in a loop
to copy a directory from a src to a destination.
On the 2nd call, I get this msg: "...BacgroundWorker is currently busy..."
What are my option to resolve this issue...?
thx in advance
Me.BackgroundWorker1.RunWorkerAsync()
Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e
As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
Dim worker As System.ComponentModel.BackgroundWorker = CType(sender,
System.ComponentModel.BackgroundWorker)
FileIO.FileSystem.CopyDirectory(FromString, LocString,
FileIO.UIOption.AllDialogs, FileIO.UICancelOption.DoNothing)
End Sub