|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi.. Can you please help me on this one... I've tried to convert the C# Zip sample to VB.NET. But the code returns an error. Here's the link of the C# source code that I am trying to convert: http://msdn.microsoft.com/msdnmag/issues/03/06/zipcompression/ (ZipCS Solution)
I also attached my code.. In case you need to see it... Please Advise.. Thanks.. Last edited by devxrus : March 29th, 2004 at 10:18 PM. Reason: Need urgent attention |
|
#2
|
|||
|
|||
|
Its now A OKey....
Add AddressOf to Functions (UpdateZipFile and ExtractZipFile) New EnumerationAdapter(New EnumerationMethod(AddressOf from/file.entres)) And some changes here so that when you extract the file/s, it will not create subfolders. Dim z AsNew ZipEntry(f.Remove(0, System.IO.Path.GetPathRoot(f).Length)) Dim z AsNew ZipEntry(f.Remove(0, f.LastIndexOf("\") + 1)) Thanks To Everyone.. Last edited by devxrus : March 22nd, 2004 at 02:05 AM. Reason: Clarification |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Zip (C# to VB.NET) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|