The GetZipContentsEx method is the same as the GetZipContents method, except that the internal type of the first parameter (which requires you to specify an XceedZipItems collection object) is VARIANT* instead of IDispatch**.
This allows the GetZipContentsEx method to work in some environments (VBScript for example) where GetZipContents will not work.
Here is some sample VBScript code to show you how to use GetZipContentsEx. The code will list the contents of the d:\events.zip file by displaying a message box containing each filename in the zip file.
Visual Basic | Copy Code |
---|---|
|