In VB.NET, “Dim files(1) As String” creates a String aray with its lower bound being 0, and upper bound being 1. Thus a two strings array. You’re actually passing “dir & “\descriptor.xml”” and and empty string. An empty string reverts to unzipping everything from the root.
Just change to “Dim files(0) As String”. I hate VB.NET for that array declaration convention!
Imported from legacy forums. Posted by Martin (had 242 views)