home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "modMain"
- Option Explicit
-
- ' Declare Windows API functions for checking system configuration.
- Sub main()
- ' Debug code for testing object library.
- #Const DebugBuild = 0
- #If DebugBuild Then
- Dim x As New Information
- x.MakeVisible
- MsgBox x.IsRunning("Microsoft Word")
- MsgBox x.MeetsCriteria(486, 16)
- Dim y As New FileIO
- MsgBox y.TempFileName(Prefix:="foo")
- MsgBox y.SystemDirectory
- Dim z As New Keyboard
- ' Toggle NumLock key.
- z.NumLock = Not z.NumLock
- End
- #End If
- End Sub
-