home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / vbpg32 / samples4 / ch05 / timwst32.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-02-16  |  1.4 KB  |  53 lines

  1. VERSION 4.00
  2. Begin VB.Form frmWaste 
  3.    Appearance      =   0  'Flat
  4.    BackColor       =   &H80000005&
  5.    Caption         =   "Time Waster"
  6.    ClientHeight    =   2070
  7.    ClientLeft      =   1095
  8.    ClientTop       =   1485
  9.    ClientWidth     =   3675
  10.    BeginProperty Font 
  11.       name            =   "MS Sans Serif"
  12.       charset         =   0
  13.       weight          =   700
  14.       size            =   8.25
  15.       underline       =   0   'False
  16.       italic          =   0   'False
  17.       strikethrough   =   0   'False
  18.    EndProperty
  19.    ForeColor       =   &H80000008&
  20.    Height          =   2475
  21.    Left            =   1035
  22.    LinkTopic       =   "Form1"
  23.    ScaleHeight     =   2070
  24.    ScaleWidth      =   3675
  25.    Top             =   1140
  26.    Width           =   3795
  27.    Begin VB.TextBox Text1 
  28.       Appearance      =   0  'Flat
  29.       Height          =   315
  30.       Left            =   540
  31.       TabIndex        =   0
  32.       Text            =   "Text1"
  33.       Top             =   600
  34.       Width           =   2235
  35.    End
  36. Attribute VB_Name = "frmWaste"
  37. Attribute VB_Creatable = False
  38. Attribute VB_Exposed = False
  39. Option Explicit
  40. ' Copyright 
  41.  1996 by Desaware. All Rights Reserved
  42. Private Sub Form_Load()
  43. End Sub
  44. Private Sub Text1_Change()
  45.     Static z%
  46.     Dim l&
  47.     If z% = 0 Then
  48.         For l& = 1 To 10000000
  49.         Next l&
  50.         z% = 1
  51.     End If
  52. End Sub
  53.