[2008] [VB.NET] Winrar DLL Simple Usage - Page 2-VBForums
Page 2 of 2 FirstFirst 12
Results 41 to 42 of 42

Thread: [2008] [VB.NET] Winrar DLL Simple Usage

  1. #41
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    760

    Re: [2008] [VB.NET] Winrar DLL Simple Usage

    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 ?
    time to amp up the beef

  2. #42
    New Member
    Join Date
    Mar 2012
    Posts
    1

    Re: [2008] [VB.NET] Winrar DLL Simple Usage

    Quote Originally Posted by youngbucks View Post
    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:
    vb.net Code:
    1. Public pw As String
    2.     Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
    3.         pw = Me.txtPW.Text
    4.         Me.Hide()
    5.     End Sub

    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.
    how do i enter a static password

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.