VERSION 5.00
Begin VB.Form Form2 
   Caption         =   " FS Drive"
   ClientHeight    =   2370
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   2670
   Icon            =   "frmDrive.frx":0000
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2370
   ScaleWidth      =   2670
   StartUpPosition =   1  'CenterOwner
   Begin VB.CommandButton Command1 
      Caption         =   "Open"
      Height          =   375
      Left            =   1440
      TabIndex        =   3
      Top             =   1800
      Width           =   1095
   End
   Begin VB.Frame Frame2 
      Caption         =   "Physical Drive"
      Height          =   735
      Left            =   120
      TabIndex        =   1
      Top             =   960
      Width           =   2415
      Begin VB.ComboBox Combo1 
         Height          =   315
         Left            =   120
         TabIndex        =   4
         Text            =   "Combo1"
         Top             =   240
         Width           =   2175
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "Logical Drive"
      Height          =   735
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   2415
      Begin VB.DriveListBox Drive1 
         Height          =   315
         Left            =   120
         TabIndex        =   2
         Top             =   240
         Width           =   2175
      End
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Combo1_LostFocus()
DriveName = Combo1.Text
End Sub

Private Sub Command1_Click()
If DriveName = "" Then Exit Sub
Form1.Show
Unload Me
End Sub

Private Sub Form_Load()
Rem 14-3-2009
Combo1.AddItem "PhysicalDrive0"
Combo1.AddItem "PhysicalDrive1"
Combo1.AddItem "PhysicalDrive2"
Combo1.AddItem "PhysicalDrive3"
Combo1.ListIndex = 0
End Sub

Private Sub Drive1_LostFocus()
DriveName = UCase(Left(Drive1.Drive, 2))
End Sub
