How exactly do you copy the content of a .rar/.zip file (from your resources) to an archive in the computer? (.jar - Java Archive)
I mean without deleting existing data on the .jar file already. I use this code currently.
The TestArchive is a .zip file, and when I press the button, it extracts the content of TestArchive to the .jar arhive, but deletes everything that was already inside the .jar archive.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click System.IO.File.WriteAllBytes(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\test\test.jar", My.Resources.TestArchive) End Sub