Results 1 to 2 of 2

Thread: XceedZip - how to use it????

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Angry

    Does anyone know how can I check if ZIP file is password protected (using XceedZip.Ocx). And also how to handle errors in this OCX (for example when file is not a valid ZIP file how can I give the user info about it)
    ANY help would be really appreciated.

    Thanks in advance

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Posts
    28

    Thumbs up

    in events of XceedZip you have "bEncrypted As Boolean".
    Just read bEncrypted; if it's set to true then it's password encrypted!
    Also you can put the event in your code:

    Private Sub xZip_InvalidPassword(ByVal sFilename As String, sNewPassword As String, bRetry As Boolean)

    in each operation you try on the zip file, if it's password protected, the event InvalidPassword it's triggered.

    Sergio
    Portuguese SP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width