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