home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form DTSAbout
- BorderStyle = 3 'Fixed Dialog
- Caption = "About MyApp"
- ClientHeight = 3555
- ClientLeft = 2340
- ClientTop = 1935
- ClientWidth = 5790
- ClipControls = 0 'False
- Icon = "DTSAbout.frx":0000
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2453.724
- ScaleMode = 0 'User
- ScaleWidth = 5437.109
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.PictureBox picIcon
- AutoSize = -1 'True
- ClipControls = 0 'False
- Height = 540
- Left = 165
- Picture = "DTSAbout.frx":030A
- ScaleHeight = 337.12
- ScaleMode = 0 'User
- ScaleWidth = 337.12
- TabIndex = 1
- Top = 150
- Width = 540
- End
- Begin VB.CommandButton cmdOK
- Cancel = -1 'True
- Caption = "OK"
- Default = -1 'True
- Height = 345
- Left = 4245
- TabIndex = 0
- Top = 2625
- Width = 1260
- End
- Begin VB.CommandButton cmdSysInfo
- Caption = "&System Info..."
- Height = 345
- Left = 4260
- TabIndex = 2
- Top = 3075
- Width = 1245
- End
- Begin VB.Label lblMailMe
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- BackStyle = 0 'Transparent
- Caption = "chriskesler1@hotmail.com"
- BeginProperty Font
- Name = "Arial"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = -1 'True
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FF0000&
- Height = 210
- Left = 240
- TabIndex = 7
- Top = 3240
- Width = 1890
- End
- Begin VB.Line Line1
- BorderColor = &H00808080&
- BorderStyle = 6 'Inside Solid
- Index = 1
- X1 = 84.515
- X2 = 5309.398
- Y1 = 1687.583
- Y2 = 1687.583
- End
- Begin VB.Label lblDescription
- BackStyle = 0 'Transparent
- Caption = "App Description"
- BeginProperty Font
- Name = "Arial"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00000000&
- Height = 1170
- Left = 1050
- TabIndex = 3
- Top = 1125
- Width = 3885
- End
- Begin VB.Label lblTitle
- BackStyle = 0 'Transparent
- Caption = "Application Title"
- BeginProperty Font
- Name = "Agatha"
- Size = 15.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00000000&
- Height = 480
- Left = 1050
- TabIndex = 5
- Top = 240
- Width = 3885
- End
- Begin VB.Line Line1
- BorderColor = &H00FFFFFF&
- BorderWidth = 2
- Index = 0
- X1 = 98.6
- X2 = 5309.398
- Y1 = 1697.936
- Y2 = 1697.936
- End
- Begin VB.Label lblVersion
- BackStyle = 0 'Transparent
- Caption = "Version"
- BeginProperty Font
- Name = "Agatha"
- Size = 15.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 405
- Left = 1035
- TabIndex = 6
- Top = 705
- Width = 3885
- End
- Begin VB.Label lblDisclaimer
- BackStyle = 0 'Transparent
- Caption = $"DTSAbout.frx":0BD4
- ForeColor = &H00000000&
- Height = 600
- Left = 240
- TabIndex = 4
- Top = 2625
- Width = 3915
- End
- Attribute VB_Name = "DTSAbout"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- ' Reg Key Security Options...
- Const READ_CONTROL = &H20000
- Const KEY_QUERY_VALUE = &H1
- Const KEY_SET_VALUE = &H2
- Const KEY_CREATE_SUB_KEY = &H4
- Const KEY_ENUMERATE_SUB_KEYS = &H8
- Const KEY_NOTIFY = &H10
- Const KEY_CREATE_LINK = &H20
- Const KEY_ALL_ACCESS = KEY_QUERY_VALUE + KEY_SET_VALUE + _
- KEY_CREATE_SUB_KEY + KEY_ENUMERATE_SUB_KEYS + _
- KEY_NOTIFY + KEY_CREATE_LINK + READ_CONTROL
-
- ' Reg Key ROOT Types...
- Const HKEY_LOCAL_MACHINE = &H80000002
- Const ERROR_SUCCESS = 0
- Const REG_SZ = 1 ' Unicode nul terminated string
- Const REG_DWORD = 4 ' 32-bit number
- Const gREGKEYSYSINFOLOC = "SOFTWARE\Microsoft\Shared Tools Location"
- Const gREGVALSYSINFOLOC = "MSINFO"
- Const gREGKEYSYSINFO = "SOFTWARE\Microsoft\Shared Tools\MSINFO"
- Const gREGVALSYSINFO = "PATH"
- Private Declare Function RegOpenKeyEx Lib "advapi32" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, ByRe_HeAs Long,Long, ByVal lpSubKeyAs Long, Byg, B Italic = GVA + _
- 0p8abR_SUCCESS = 0
- Const REG_SZ = 1 ' Unicode nul Up,Long, B
-