VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Unpack specified file from RAR Archive

by Rde (54 Submissions)
Category: Files/File Controls/Input/Output
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

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

Download Unpack specified file from RAR Archive

Download Unpack specified file from RAR Archive (9 KB)

Unpack specified file from RAR Archive Comments

No comments have been posted about Unpack specified file from RAR Archive. Why not be the first to post a comment about Unpack specified file from RAR Archive.

Post your comment

Subject:
Message:
0/1000 characters