1 where does the path string of the rar file go in the code ?
2 does btn 1 or 2 unpack the rar file ?
3 in case the rar is passworded where(in the code or the form) does the user enter the pass ?
4 is post #1 edited or will it raise some of the glitches raised in the following posts ?
The decompressor class given with the solution has the control for the password already in it so for dynamic passwords you simply need to create a form to pass the password through (via String). Add a textbox and a button to it.
Name the textbox: txtPW
Name the button: btnOK
Add this code to the form:
Public pw AsString
PrivateSub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)Handles btnOK.Click
pw = Me.txtPW.Text
Note: If you do not name the form "pwDLG" you are going to have to change the code in the decompressor class. Find (Ctrl+f) "Case UCM_NEEDPASSWORD" and change "Dim f As New pwDlg" accordingly.