VERSION 5.00
Begin VB.Form Form22 
   Caption         =   " Primary Volume Descriptor"
   ClientHeight    =   4665
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5265
   Icon            =   "primaryvd.frx":0000
   LinkTopic       =   "Form22"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4665
   ScaleWidth      =   5265
   StartUpPosition =   3  'Windows Default
   Begin VB.Label Label34 
      Caption         =   "NONE"
      Height          =   255
      Left            =   4200
      TabIndex        =   29
      Top             =   340
      Width           =   615
   End
   Begin VB.Label Label33 
      Caption         =   "Standard Identifier:"
      Height          =   255
      Left            =   2760
      TabIndex        =   28
      Top             =   340
      Width           =   1335
   End
   Begin VB.Label Label25 
      Caption         =   "UNKNOWN"
      Height          =   255
      Left            =   4080
      TabIndex        =   27
      Top             =   100
      Width           =   975
   End
   Begin VB.Label Label24 
      Caption         =   "File System Type:"
      Height          =   255
      Left            =   2760
      TabIndex        =   26
      Top             =   100
      Width           =   1335
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   11
      Left            =   2040
      TabIndex        =   25
      Top             =   3720
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   10
      Left            =   2040
      TabIndex        =   24
      Top             =   3480
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   9
      Left            =   2040
      TabIndex        =   23
      Top             =   3240
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   8
      Left            =   2040
      TabIndex        =   22
      Top             =   3000
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   615
      Index           =   7
      Left            =   2040
      TabIndex        =   21
      Top             =   2280
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   6
      Left            =   2040
      TabIndex        =   20
      Top             =   2040
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   5
      Left            =   2040
      TabIndex        =   19
      Top             =   1800
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   4
      Left            =   2040
      TabIndex        =   18
      Top             =   1560
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   3
      Left            =   2040
      TabIndex        =   17
      Top             =   1320
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   2
      Left            =   2040
      TabIndex        =   16
      Top             =   1080
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   1
      Left            =   2040
      TabIndex        =   15
      Top             =   840
      Width           =   3075
   End
   Begin VB.Label Label23 
      Caption         =   "0"
      Height          =   255
      Index           =   0
      Left            =   2040
      TabIndex        =   14
      Top             =   600
      Width           =   3075
   End
   Begin VB.Label Label22 
      Caption         =   "A:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   162
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   1080
      TabIndex        =   13
      Top             =   120
      Width           =   1575
   End
   Begin VB.Label Label13 
      Caption         =   "Time Stamps:"
      Height          =   255
      Left            =   240
      TabIndex        =   12
      Top             =   3720
      Width           =   1725
   End
   Begin VB.Label Label12 
      Caption         =   "Other Identifiers:"
      Height          =   255
      Left            =   240
      TabIndex        =   11
      Top             =   3480
      Width           =   1725
   End
   Begin VB.Label Label11 
      Caption         =   "Root Dir Record:"
      Height          =   255
      Left            =   240
      TabIndex        =   10
      Top             =   3240
      Width           =   1725
   End
   Begin VB.Label Label10 
      Caption         =   "Location of Path Tbl:"
      Height          =   255
      Left            =   240
      TabIndex        =   9
      Top             =   3000
      Width           =   1725
   End
   Begin VB.Label Label9 
      Caption         =   "Root Directory Record :"
      Height          =   255
      Left            =   240
      TabIndex        =   8
      Top             =   2280
      Width           =   1725
   End
   Begin VB.Label Label8 
      Caption         =   "Path Table Size:"
      Height          =   255
      Left            =   240
      TabIndex        =   7
      Top             =   2040
      Width           =   1725
   End
   Begin VB.Label Label7 
      Caption         =   "Logical Block Size:"
      Height          =   255
      Left            =   240
      TabIndex        =   6
      Top             =   1800
      Width           =   1725
   End
   Begin VB.Label Label6 
      Caption         =   "Volume Sequence No:"
      Height          =   255
      Left            =   240
      TabIndex        =   5
      Top             =   1560
      Width           =   1725
   End
   Begin VB.Label Label5 
      Caption         =   "Volume Set Size:"
      Height          =   255
      Left            =   240
      TabIndex        =   4
      Top             =   1320
      Width           =   1725
   End
   Begin VB.Label Label4 
      Caption         =   "Volume Space Size:"
      Height          =   255
      Left            =   240
      TabIndex        =   3
      Top             =   1080
      Width           =   1725
   End
   Begin VB.Label Label3 
      Caption         =   "Volume Identifier:"
      Height          =   255
      Left            =   240
      TabIndex        =   2
      Top             =   840
      Width           =   1725
   End
   Begin VB.Label Label2 
      Caption         =   "System Identifier:"
      Height          =   255
      Left            =   240
      TabIndex        =   1
      Top             =   600
      Width           =   1725
   End
   Begin VB.Label Label1 
      Caption         =   "Drive"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   162
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   240
      TabIndex        =   0
      Top             =   120
      Width           =   735
   End
End
Attribute VB_Name = "Form22"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim X As Integer
Dim TXT As String
Dim S1 As Long
Dim S2 As Long
Dim S3 As Long
Dim S4 As Long
Dim D As Double
Dim L As Long

Private Sub Form_Activate()
TXT = ""
For X = 8 To 39
    TXT = TXT + Chr$(BSBuffer(X))
Next X
Label23(0).Caption = TXT
TXT = ""
For X = 40 To 71
    TXT = TXT + Chr$(BSBuffer(X))
Next X
Label23(1).Caption = TXT
S1 = CLng(BSBuffer(80))
S2 = CLng(BSBuffer(81))
S3 = CLng(BSBuffer(82))
S4 = CLng(BSBuffer(83))
D = CLng((S4 * 16777216) + (S3 * 65536) + (S2 * 256) + S1)
Label23(2).Caption = CStr(D) + " sectors   [ " + CStr(D * 2048) + "  bytes ]"
L = CLng((BSBuffer(121) * 256) + BSBuffer(120))
Label23(3).Caption = CStr(L)
L = CLng((BSBuffer(125) * 256) + BSBuffer(124))
Label23(4).Caption = CStr(L)
L = CLng((BSBuffer(129) * 256) + BSBuffer(128))
Label23(5).Caption = CStr(L) + " bytes"
S1 = CLng(BSBuffer(132))
S2 = CLng(BSBuffer(133))
S3 = CLng(BSBuffer(134))
S4 = CLng(BSBuffer(135))
D = CLng((S4 * 16777216) + (S3 * 65536) + (S2 * 256) + S1)
Label23(6).Caption = CStr(D) + " bytes"
TXT = ""
For X = 1 To 34
    TXT = TXT + Form1.ByteToHex(BSBuffer(155 + X)) + " "
Next X
TXT = TXT + "h"
Label23(7).Caption = TXT
End Sub

