Hello,
I use VB6 and XceedZip Compression Library 5.0.115.0
I have a strange bug with the Zip method.
BackgroundProcessing is not defined but it is False by default.
After Zip call, other form's event are launched. It's like a DoEvents call after Zip method...
Do you have a idea ?
It's my code
Set Zip = New XceedZip
With Zip
.License "....-....-....-...."
.CompressionLevel = xclMedium
.CompressionMethod = xcmDeflated
.PreservePaths = False
.ZipFilename = "ZipFile.zip"
.AddFilesToProcess "FileToZip.txt"
.ZipOpenedFiles = True
Ret = .Zip
'Here form's events are launched
If Ret <> xerSuccess And Ret <> xerWarnings Then
MessageErreur = Ret & " " & .GetErrorDescription(xvtError, Ret)
Exit Function
End If
End With