home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form EQFrm
- BackColor = &H00C0C0C0&
- Caption = "Equipment and System Info"
- ClientHeight = 2595
- ClientLeft = 270
- ClientTop = 3345
- ClientWidth = 5355
- Height = 3000
- Left = 210
- LinkMode = 1 'Source
- LinkTopic = "Form3"
- ScaleHeight = 2595
- ScaleWidth = 5355
- Top = 3000
- Width = 5475
- Begin Label flopp
- Height = 195
- Index = 1
- Left = 1530
- TabIndex = 9
- Top = 2085
- Visible = 0 'False
- Width = 645
- End
- Begin Label fLabel
- BackColor = &H00C0C0C0&
- Caption = "Floppy 2:"
- Height = 195
- Index = 1
- Left = 585
- TabIndex = 7
- Top = 2085
- Visible = 0 'False
- Width = 810
- End
- Begin Label Label10
- BackColor = &H00C0C0C0&
- Caption = "Num. Root Dirs:"
- Height = 180
- Left = 2895
- TabIndex = 17
- Top = 1785
- Width = 1365
- End
- Begin Label flopp
- Height = 195
- Index = 0
- Left = 1530
- TabIndex = 8
- Top = 1800
- Width = 645
- End
- Begin Label fLabel
- BackColor = &H00C0C0C0&
- Caption = "Floppy 1:"
- Height = 225
- Index = 0
- Left = 585
- TabIndex = 6
- Top = 1800
- Width = 810
- End
- Begin Label RdCnt
- Alignment = 1 'Right Justify
- Height = 210
- Left = 4350
- TabIndex = 18
- Top = 1725
- Width = 450
- End
- Begin Label Label6
- BackColor = &H00C0C0C0&
- Caption = "-Drives-"
- Height = 180
- Index = 0
- Left = 1035
- TabIndex = 5
- Top = 1560
- Width = 750
- End
- Begin Label klbl
- Alignment = 1 'Right Justify
- Height = 195
- Index = 1
- Left = 3960
- TabIndex = 16
- Top = 1365
- Width = 855
- End
- Begin Label Label7
- BackColor = &H00C0C0C0&
- Caption = "Free Kb:"
- Height = 225
- Left = 3105
- TabIndex = 14
- Top = 1365
- Width = 795
- End
- Begin Label Port
- Height = 165
- Index = 2
- Left = 1425
- TabIndex = 11
- Top = 1275
- Width = 255
- End
- Begin Label Label6
- BackColor = &H00C0C0C0&
- Caption = "Parallel:"
- Height = 225
- Index = 2
- Left = 510
- TabIndex = 4
- Top = 1245
- Width = 735
- End
- Begin Label klbl
- Alignment = 1 'Right Justify
- Height = 195
- Index = 0
- Left = 3960
- TabIndex = 15
- Top = 1020
- Width = 855
- End
- Begin Label Label5
- BackColor = &H00C0C0C0&
- Caption = "Tot Kb:"
- Height = 225
- Left = 3210
- TabIndex = 13
- Top = 1005
- Width = 675
- End
- Begin Label Port
- Height = 165
- Index = 1
- Left = 1425
- TabIndex = 10
- Top = 1035
- Width = 255
- End
- Begin Label Label4
- BackColor = &H00C0C0C0&
- Caption = "Serial:"
- Height = 225
- Index = 0
- Left = 645
- TabIndex = 2
- Top = 1005
- Width = 585
- End
- Begin Label Label4
- BackColor = &H00C0C0C0&
- Caption = "-Ports-"
- Height = 195
- Index = 1
- Left = 1065
- TabIndex = 3
- Top = 765
- Width = 630
- End
- Begin Label Label3
- BackColor = &H00C0C0C0&
- Caption = " Current Drive Stats"
- Height = 240
- Left = 3060
- TabIndex = 12
- Top = 615
- Width = 1725
- End
- Begin Label DOS
- BorderStyle = 1 'Fixed Single
- Height = 240
- Left = 1635
- TabIndex = 1
- Top = 435
- Width = 495
- End
- Begin Label Label1
- BackColor = &H00C0C0C0&
- Caption = "DOS Ver:"
- Height = 210
- Left = 675
- TabIndex = 0
- Top = 465
- Width = 855
- End
- DefInt A-Z
- Dim FType$(0 To 5)
- Sub Form_Load ()
- FType$(1) = "360Kb"
- FType$(2) = "1.2Mb"
- FType$(3) = "720Kb"
- FType$(4) = "1.44Mb"
- FType$(5) = "2.88Mb"
- FType$(0) = "Unk."
- oem = DOSVer(j, n)
- Dos.Caption = Str$(j) + "." + LTrim$(Str$(n))
- Call EqInfo(par, ser, Flop)
- Port(1).Caption = Str$(ser)
- Port(2).Caption = Str$(par)
- For x = 0 To Flop - 1
- ft = FloppyType(x)
- Flopp(x).Caption = FType$(ft)
- Flopp(x).visible = 1
- flabel(x).visible = 1
- Next x
- Klbl(0).Caption = Format$(DrvSpace&(0) \ 1024, "#,###,###")
- Klbl(1).Caption = Format$(DrvFree&(0) \ 1024, "#,###,###")
- RDCnt.Caption = Format$(SubDirCount("\*.*"))
- End Sub
- Sub Form_Paint ()
- EmpressFrm EQFrm, 360, 375, 2400, 2280, 1
- EmpressFrm EQFrm, 720, 2845, 2050, 4965, 1
- ConvexFrm EQFrm, 4
- ConcaveCtl Dos, 4
- ConcaveCtl Port(1), 3
- ConcaveCtl Port(2), 3
- ConcaveCtl RDCnt, 3
- For x = 0 To 1
- ConcaveCtl Flopp(x), 3
- ConcaveCtl Klbl(x), 3
- Next x
- End Sub
-