home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / win9keys / windows.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-08-30  |  1.4 KB  |  49 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Windows Keys"
  4.    ClientHeight    =   1065
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   2865
  8.    Icon            =   "Windows Keys.frx":0000
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    MinButton       =   0   'False
  12.    ScaleHeight     =   1065
  13.    ScaleWidth      =   2865
  14.    StartUpPosition =   2  'CenterScreen
  15.    Begin VB.CommandButton Command1 
  16.       Caption         =   "Disable Keys"
  17.       Height          =   375
  18.       Left            =   600
  19.       TabIndex        =   0
  20.       Top             =   600
  21.       Width           =   1695
  22.    End
  23.    Begin VB.Label Label1 
  24.       Caption         =   "By Shane Fernandes, IOS Software!"
  25.       Height          =   495
  26.       Left            =   120
  27.       TabIndex        =   1
  28.       Top             =   120
  29.       Width           =   2775
  30.    End
  31. Attribute VB_Name = "Form1"
  32. Attribute VB_GlobalNameSpace = False
  33. Attribute VB_Creatable = False
  34. Attribute VB_PredeclaredId = True
  35. Attribute VB_Exposed = False
  36. Private Sub Command1_Click()
  37. On Error Resume Next
  38. If Command1.Caption = "Disable Keys" Then
  39. DisableKeys True
  40. Command1.Caption = "Enable Keys"
  41. ElseIf Command1.Caption = "Enable Keys" Then
  42. DisableKeys False
  43. Command1.Caption = "Disable Keys"
  44. End If
  45. End Sub
  46. Private Sub Form_Load()
  47. x = 2
  48. End Sub
  49.