views:

53

answers:

3

Hello Everyone.

In ASP.Net two of the possible ways to make the zip files are

Sharp Zip Library

Dot Net Zip Library

How can i use any of these in Classic ASP to make the zip files ? And which one will be better ?

+1  A: 

You can't use any of those libraries in classic asp. One way would be to try to register them as COM components using the regasm.exe utility, although I am not sure whether those assemblies are marked with the COMVisible attribute.

Darin Dimitrov
@Darin Dimitrov - Thanks for the help. You answer also help me out.
GS_Guy
+1  A: 

You will need to create a COM wrapper for the .NET library of choice.

You will then be able to reference the wrapper in classic ASP and use it.

Oded
Instead of building the .Net assembly for COM Components i found another solution for classic ASP.http://www.xstandard.com/en/documentation/xzip/
GS_Guy
@Umar Siddique - you specifically asked about using those .NET libaries in classic ASP... Of course you can use existing COM libraries :)
Oded
@Oded - X-Standard zip component works for me. Now the only thing is to register is on server. Thanks for the help.
GS_Guy