home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form WinFrm
- BackColor = &H00C0C0C0&
- Caption = "WIN Environment"
- ClientHeight = 3150
- ClientLeft = 1110
- ClientTop = 1800
- ClientWidth = 6420
- Height = 3555
- Left = 1050
- LinkMode = 1 'Source
- LinkTopic = "Form2"
- ScaleHeight = 3150
- ScaleWidth = 6420
- Top = 1455
- Width = 6540
- Begin Label EI
- Alignment = 2 'Center
- Height = 225
- Index = 4
- Left = 1620
- TabIndex = 12
- Top = 2655
- Width = 600
- End
- Begin Label Label8
- BackColor = &H00C0C0C0&
- Caption = "Mouse?:"
- Height = 210
- Left = 840
- TabIndex = 8
- Top = 2655
- Width = 735
- End
- Begin Label WI
- Alignment = 2 'Center
- Height = 210
- Index = 5
- Left = 4200
- TabIndex = 24
- Top = 2400
- Width = 1740
- End
- Begin Label Label15
- BackColor = &H00C0C0C0&
- Caption = "Win Program:"
- Height = 195
- Left = 2985
- TabIndex = 19
- Top = 2415
- Width = 1155
- End
- Begin Label EI
- Alignment = 2 'Center
- Height = 225
- Index = 3
- Left = 1620
- TabIndex = 11
- Top = 2355
- Width = 600
- End
- Begin Label Label9
- BackColor = &H00C0C0C0&
- Caption = "Memory KB:"
- Height = 210
- Left = 540
- TabIndex = 9
- Top = 2370
- Width = 1035
- End
- Begin Label WI
- Height = 195
- Index = 4
- Left = 4200
- TabIndex = 23
- Top = 2040
- Width = 555
- End
- Begin Label Label14
- BackColor = &H00C0C0C0&
- Caption = "Temp Drive:"
- Height = 195
- Left = 3075
- TabIndex = 18
- Top = 2025
- Width = 1065
- End
- Begin Label EI
- Alignment = 2 'Center
- Height = 225
- Index = 2
- Left = 1620
- TabIndex = 10
- Top = 2040
- Width = 600
- End
- Begin Label Label7
- BackColor = &H00C0C0C0&
- Caption = "Func keys:"
- Height = 210
- Left = 615
- TabIndex = 7
- Top = 2040
- Width = 975
- End
- Begin Label EI
- Height = 225
- Index = 1
- Left = 1620
- TabIndex = 13
- Top = 1710
- Width = 720
- End
- Begin Label Label4
- BackColor = &H00C0C0C0&
- Caption = "KB Type:"
- Height = 210
- Left = 750
- TabIndex = 6
- Top = 1740
- Width = 825
- End
- Begin Label WI
- Height = 195
- Index = 3
- Left = 2985
- TabIndex = 22
- Top = 1695
- Width = 2985
- End
- Begin Label Label13
- BackColor = &H00C0C0C0&
- Caption = "WIN System Directory"
- Height = 195
- Left = 2985
- TabIndex = 17
- Top = 1485
- Width = 1935
- End
- Begin Label Label2
- BackColor = &H00C0C0C0&
- Caption = " Equip Info"
- Height = 195
- Left = 705
- TabIndex = 5
- Top = 1470
- Width = 990
- End
- Begin Label WI
- Height = 195
- Index = 2
- Left = 2985
- TabIndex = 21
- Top = 1185
- Width = 2985
- End
- Begin Label Label12
- BackColor = &H00C0C0C0&
- Caption = "WINDOWS Directory"
- Height = 195
- Left = 2985
- TabIndex = 16
- Top = 960
- Width = 1920
- End
- Begin Label BI
- Alignment = 2 'Center
- Height = 210
- Index = 2
- Left = 1485
- TabIndex = 3
- Top = 960
- Width = 495
- End
- Begin Label Label3
- BackColor = &H00C0C0C0&
- Caption = "Mode:"
- Height = 225
- Left = 780
- TabIndex = 2
- Top = 960
- Width = 600
- End
- Begin Label WI
- Alignment = 2 'Center
- Height = 210
- Index = 1
- Left = 4080
- TabIndex = 20
- Top = 645
- Width = 1365
- End
- Begin Label Label11
- BackColor = &H00C0C0C0&
- Caption = "WIN Ticks:"
- Height = 195
- Left = 2985
- TabIndex = 15
- Top = 645
- Width = 1020
- End
- Begin Label BI
- Alignment = 1 'Right Justify
- Height = 210
- Index = 1
- Left = 1485
- TabIndex = 1
- Top = 615
- Width = 495
- End
- Begin Label Label1
- BackColor = &H00C0C0C0&
- Caption = "Version:"
- Height = 225
- Left = 630
- TabIndex = 0
- Top = 630
- Width = 765
- End
- Begin Label Label10
- BackColor = &H00C0C0C0&
- Caption = " WIN Sys Info"
- Height = 210
- Left = 3315
- TabIndex = 14
- Top = 315
- Width = 1275
- End
- Begin Label Label5
- BackColor = &H00C0C0C0&
- Caption = " Basic Info"
- Height = 165
- Left = 705
- TabIndex = 4
- Top = 315
- Width = 960
- End
- DefInt A-Z
- Dim WMode$(1 To 2)
- Sub Form_Load ()
- WMode$(1) = "Std"
- WMode$(2) = "Enh"
- BI(1).Caption = Format$(WinVer() / 100, "#.#0")
- BI(2).Caption = WMode$(WinMode())
- Select Case WinKeyBdType()
- Case 1
- k$ = "XT 83"
- Case 2
- k$ = "Ol. 101"
- Case 3
- k$ = "AT 84"
- Case 4
- k$ = "IBM 101"
- Case 5
- k$ = "Noika"
- Case Else
- k$ = "Unk"
- End Select
- EI(1).Caption = k$
- EI(2).Caption = Format$(WinKBFuncKeys())
- EI(3).Caption = Format$(WinMem() \ 1024)
- If WinMouse() Then
- EI(4).Caption = "Yes"
- Else
- EI(4).Caption = "No"
- End If
- WI(1).Caption = Format$(WinCurTime())
- WI(2).Caption = WinDirectory$()
- WI(3).Caption = WinSysDir$()
- WI(4).Caption = WinTempDrive$()
- WI(5).Caption = WinPrgName$()
- End Sub
- Sub Form_Paint ()
- EmbossFrm WinFrm, 390, 525, 1260, 2100, 1
- ConcaveCtl BI(1), 3
- ConcaveCtl BI(2), 3
- For x = 1 To 4
- ConcaveCtl EI(x), 3
- Next x
- For x = 1 To 5
- ConvexCtl WI(x), 3
- Next x
- EmbossFrm WinFrm, 1560, 525, 2965, 2465, 1
- EmpressFrm WinFrm, 435, 2820, 2715, 6060, 1
- ConvexFrm WinFrm, 5
- End Sub
-