We help IT Professionals succeed at work.

VBNET RAR Archive

TeKKeD
TeKKeD asked
on
Medium Priority
726 Views
Last Modified: 2008-02-01
Hi Experts,
I need to make .NET app wich will extract files from RAR compresor
The question is:
Is there any RAR dll or any .NET integrated library thant I can use for that task.
I found libraries from ZIP format but nothing for RAR
Thanks in advance
Comment
Watch Question

Commented:
Can you run WinRar itself using command line switches?
When u install winrar you also get rar.exe which is the command line version.  However kicking it off means you end up with a command prompt flashing onto the screen which is just plain ugly.  Not only that but it also means it's hard to actually determine what exactly is happening because you don't have direct control of the rar.exe.  If you are willing to settle for zipping things instead (not THATmuch difference in compression ratios and u don't have to worry about customers not having winrar) you should look for ICSharpCode.SharpZipLib, it's free and works like a charm.  Well except in web pages and the .NET IDE I sometimes get an access denied to ICSharpCode.SharpZipLib.dll for some stupid reason, but all you need to do is stop and then start again.  For my site it happens about 1 in 5 runs, but only in the .Net IDE, the website works 100%.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.