VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Unpack specified file from RAR Archive

Rde  (54 Submissions)   Files/File Controls/Input/Output   Intermediate   Wed 3rd February 2021

This module is a wrapper for the unrar.dll freely available from www.rarlab.com


Enables unpacking a specified file from a RAR archive, both to disk as a file

or only to memory (string variable) as the file text.


There are a couple of other posts on RAR archives, and extracting a single file

from an archive has not been demonstrated, and I needed this functionality for

my ZipSearch project.


Thought others might be interested in this functionality - reuse as you see fit.


Note that the declares for the library functions are named unrar and unrar3

depending on the version you have. Get a free copy of this DLL from:

www.rarlab.com - Extras

www.rarlab.com/rar_add.htm - UnRAR.dll

ftp://ftp.rarlab.com/rar/UnRARDLL.exe


Happy coding :)

Rate Unpack specified file from RAR Archive (5(5 Vote))

Download Unpack specified file from RAR Archive

Unpack specified file from RAR Archive Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters