Good day to all.
Food program that archives the contents of a folder.
Problem:
"result.zip - file used by another process"
Code:
Dim startPath As String = "c:\example\start" Dim zipPath As String = "c:\example\result.zip" ZipFile.CreateFromDirectory(startPath, zipPath) Googled a solution to a similar problem through Thread. Stuck the code in the stream, but it did not help. Tell me where to look?