I am using the following code to find files in a directory and attach them to an email. It finds the file and attaches them as it is supposed to. when I try to then move them to a history folder I get the message "the file is in use by another process." I have tried everything I can think of to release the resources but it doesn't seem to help.
For Each foundFile As String In My.Computer.FileSystem.GetFiles _