Free Support Forum - aspose.app

Issue with zip archive

below is the code I am using for vb.net. 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")
                    acompressedfile.Save(zipFile)

                End Using
            End Using

This topic has been moved to the related forum: https://forum.aspose.com/t/issue-with-zip-archive/217035