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

@jboden

It would be great if you please attach the following resources here for testing:

  • Your input ZIP and .csv files.
  • Please attach the output ZIP that shows the undesired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

I got this working. So you can dismiss this issue.

@jboden

It is nice to hear from you that your problem has been solved. Please let us know if you have any more queries.