I converted the C# code for the ICSharp Zip Library to VB.NET for unzipping and when I converted:
C#:
C# Code:
while ((objEntry = s.GetNextEntry()) != null) {}
to
VB.NET
VB Code:
While Not ((objEntry = s.GetNextEntry) Is Nothing) End While
It throws an error at objEntry = s.GetNextEntry saying:
Operator '=' is not defined for types 'ICSharpCode.SharpZipLib.Zip.ZipEntry' and 'ICSharpCode.SharpZipLib.Zip.ZipEntry'
The C# code works perfect, any solutions?




Reply With Quote