Free Support Forum -

Issue with zip archive

below is the code I am using for It is creating the archive but the file is not inside.
Not sure what I am doing wrong.

Using zipFile As FileStream = File.Open((Application.StartupPath & “\MLDS_” & Title & “.zip”), FileMode.Create, FileMode.Open, FileAccess.Read)
Using acompressedfile As Archive = New Archive(archivesettings)

                    acompressedfile.CreateEntry("\MLDS_" & Title & ".csv", Application.StartupPath & "\MLDS_" & Title & ".csv")

                End Using
            End Using

This topic has been moved to the related forum: