Click here to Skip to main content
15,908,437 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi all,
I have following the C# Zip Files and/or Folders[^] article to zipping my folder in my winform application.but i could not found vjslib.dll in .NET references. I have downloaded this file but it has error when i add it to my project references.

what is my mistake?????!!!
Posted
Comments
Dhanamanikandan 7-May-12 3:27am    
What is the error you are getting?
M_Mogharrabi 7-May-12 3:46am    
it does not give me any error message but also the dll have a warning icon when i add it to References.
Sandeep Mewara 7-May-12 4:25am    
You only said '..it has error..'
Sergey Alexandrovich Kryukov 7-May-12 13:08pm    
Do you have J# installed? Besides, you would need to re-distribute this assembly to the users.
--SA

Best Solution to zip the file without using any dll reference

http://reference7.blogspot.com/2012/04/compress-and-decompress.html[^]
 
Share this answer
 
Your problem is reduced to the following one: the article you use uses a J# library and was written using when J# was not yet retired. You can get this code is you install it with .NET Framework v. 2.0. Please see:
http://en.wikipedia.org/wiki/J_Sharp[^].

This article explains how you can use J# code from .NET v.4.0:
http://blogs.windwardreports.com/davidt/2011/02/calling-j-code-from-net-40.html[^].

You need to study this problem to find out what you could re-distribute to your users to make this solution possible: install J# v.2.0, learn the dependencies, etc. I suggest you think at the following alternatives:



I would also add SevenZipSharp, a .NET wrapper of the famous 7-Zip:
http://en.wikipedia.org/wiki/7-Zip[^],
http://sevenzipsharp.codeplex.com/[^].

—SA
 
Share this answer
 
v2
Comments
Espen Harlinn 7-May-12 17:12pm    
Good reply :-D
Sergey Alexandrovich Kryukov 7-May-12 17:36pm    
Thank you, Espen.
--SA
Shahin Khorshidnia 7-May-12 17:22pm    
+5
Sergey Alexandrovich Kryukov 7-May-12 17:37pm    
Thank you, Shahin.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900