G
Guest
hi all,
I have a button (stopcopy) that I want the user to cancel out of a long file
copying operation.
I'm not clear what I should "adding" in the sub to make this happen besides
& return. I want to stop/cancel the file io operation and return back to the
calling form.
thanks in advance
Private Sub CopyMe()
FileIO.FileSystem.CopyDirectory(strFromString, strLocString,
FileIO.UIOption.AllDialogs)
End Sub
Private Sub StopCopy_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles StopCopy.Click
Return
End Sub
I have a button (stopcopy) that I want the user to cancel out of a long file
copying operation.
I'm not clear what I should "adding" in the sub to make this happen besides
& return. I want to stop/cancel the file io operation and return back to the
calling form.
thanks in advance
Private Sub CopyMe()
FileIO.FileSystem.CopyDirectory(strFromString, strLocString,
FileIO.UIOption.AllDialogs)
End Sub
Private Sub StopCopy_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles StopCopy.Click
Return
End Sub