VERSION 5.00 Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX" Object = "{EF6F6AB3-C2B2-11D3-8E15-B3780236B732}#1.0#0"; "UNZIPPER.OCX" Begin VB.Form Form1 BorderStyle = 1 'Fixed Single Caption = "Softuarium UnZipper v2.0 test" ClientHeight = 3000 ClientLeft = 36 ClientTop = 312 ClientWidth = 3744 LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 3000 ScaleWidth = 3744 StartUpPosition = 2 'CenterScreen Begin UnZipper.UnZip UnZip1 Left = 2400 Top = 120 _ExtentX = 656 _ExtentY = 656 End Begin VB.CommandButton Command4 Caption = "About" Height = 372 Left = 1380 TabIndex = 8 Top = 2520 Width = 972 End Begin VB.Frame Frame1 Caption = "Select option" Height = 852 Left = 120 TabIndex = 5 Top = 1440 Width = 3492 Begin VB.OptionButton Option2 Caption = "Ignore stored directories" Height = 252 Left = 240 TabIndex = 7 Top = 480 Width = 3132 End Begin VB.OptionButton Option1 Caption = "Re-create stored directories (if exist)" Height = 252 Left = 240 TabIndex = 6 Top = 240 Value = -1 'True Width = 3132 End End Begin VB.CommandButton Command3 Caption = "Exit" Height = 372 Left = 2640 TabIndex = 4 Top = 2520 Width = 972 End Begin VB.CommandButton Command2 Caption = "UnZip it !" Height = 372 Left = 120 TabIndex = 3 Top = 2520 Width = 972 End Begin VB.TextBox Text1 Height = 288 Left = 120 TabIndex = 2 Top = 960 Width = 3492 End Begin VB.CommandButton Command1 Caption = "Select input ZIP archive" Height = 372 Left = 120 TabIndex = 0 Top = 120 Width = 2052 End Begin MSComDlg.CommonDialog CommonDialog1 Left = 2880 Top = 120 _ExtentX = 677 _ExtentY = 677 _Version = 393216 End Begin VB.Label Label1 AutoSize = -1 'True Caption = "Set output folder" Height = 192 Left = 120 TabIndex = 1 Top = 720 Width = 1152 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Private Sub Command1_Click() CommonDialog1.Filter = "ZIP archives (*.zip)|*.zip" CommonDialog1.ShowOpen UnZip1.InputFile = CommonDialog1.FileName End Sub Private Sub Command2_Click() If Option1.Value = True Then UnZip1.Directories = True If Option2.Value = True Then UnZip1.Directories = False UnZip1.OutputFolder = Text1.Text UnZip1.Go End Sub Private Sub Command3_Click() Unload Me End Sub Private Sub Command4_Click() UnZip1.ShowAboutBox End Sub