home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 5.00 Begin VB.Form frmAbout BackColor = &H00C00000& BorderStyle = 0 'None Caption = "About MyApp" ClientHeight = 2715 ClientLeft = 2295 ClientTop = 1605 ClientWidth = 4530 ClipControls = 0 'False Icon = "frmAbout.frx":0000 LinkTopic = "Form2" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 1873.942 ScaleMode = 0 'User ScaleWidth = 4253.904 ShowInTaskbar = 0 'False StartUpPosition = 2 'CenterScreen Begin VB.PictureBox picIcon AutoSize = -1 'True BackColor = &H00C00000& BorderStyle = 0 'None ClipControls = 0 'False Height = 480 Left = 240 Picture = "frmAbout.frx":1CFA ScaleHeight = 337.12 ScaleMode = 0 'User ScaleWidth = 337.12 TabIndex = 1 Top = 240 Width = 480 End Begin VB.CommandButton cmdOK Appearance = 0 'Flat Cancel = -1 'True Caption = "OK" Height = 345 Left = 2880 Style = 1 'Graphical TabIndex = 0 Top = 2160 Width = 1260 End Begin VB.Label Label2 BackColor = &H00C00000& Caption = "phillip@softhome.net" BeginProperty Font Name = "Times New Roman" Size = 8.25 Charset = 0 Weight = 400 Underline = -1 'True Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H00FFFFFF& Height = 225 Left = 240 MouseIcon = "frmAbout.frx":39F4 MousePointer = 99 'Custom TabIndex = 7 Top = 2280 Width = 1575 End Begin VB.Label Label1 BackColor = &H00C00000& Caption = "http://come.to/kara-tur" BeginProperty Font Name = "Times New Roman" Size = 8.25 Charset = 0 Weight = 400 Underline = -1 'True Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H00FFFFFF& Height = 225 Left = 240 MouseIcon = "frmAbout.frx":3CFE MousePointer = 99 'Custom TabIndex = 6 Top = 2040 Width = 1695 End Begin VB.Line Line1 BorderColor = &H00808080& BorderStyle = 6 'Inside Solid Index = 1 X1 = 84.515 X2 = 4056.703 Y1 = 1149.213 Y2 = 1149.213 End Begin VB.Label lblDescription BackColor = &H00C00000& Caption = "App Description" BeginProperty Font Name = "Times New Roman" Size = 8.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H00FFFFFF& Height = 450 Left = 1050 TabIndex = 2 Top = 1125 Width = 3045 End Begin VB.Label lblTitle BackColor = &H00C00000& Caption = "Application Title" BeginProperty Font Name = "Times New Roman" Size = 12 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H00FFFFFF& Height = 480 Left = 1050 TabIndex = 4 Top = 240 Width = 3045 End Begin VB.Line Line1 BorderColor = &H00FFFFFF& BorderWidth = 2 Index = 0 X1 = 84.515 X2 = 4056.703 Y1 = 1159.566 Y2 = 1159.566 End Begin VB.Label lblVersion BackColor = &H00C00000& Caption = "Version" BeginProperty Font Name = "Times New Roman" Size = 8.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H00FFFFFF& Height = 225 Left = 1050 TabIndex = 5 Top = 780 Width = 3045 End Begin VB.Label lblDisclaimer BackColor = &H00C00000& Caption = "Warning: ..." BeginProperty Font Name = "Times New Roman" Size = 8.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty ForeColor = &H00FFFFFF& Height = 225 Left = 240 TabIndex = 3 Top = 1800 Width = 3855 End Attribute VB_Name = "frmAbout" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub cmdOK_Click() Unload Me End Sub Private Sub Form_Load() Dim lResult As Long Form1.Enabled = False Me.Caption = "About " & App.Title lblVersion.Caption = "Version " & App.Major & "." & App.Minor & App.Revision lblTitle.Caption = App.ProductName lblDescription = App.FileDescription lblDisclaimer = App.LegalCopyright Me.Show lResult = SetWindowPos(Me.hwnd, HWND_TOPMOST, _ 0, 0, 0, 0, FLAGS) End Sub Private Sub Form_Unload(Cancel As Integer) Form1.Enabled = True End Sub Private Sub Label1_Click() Dim pageonwww pageonwww = ShellExecute(Me.hwnd, "Open", "http://come.to/kara-tur", "", App.Path, 1) Unload Me End Sub Private Sub Label2_Click() Dim pageonmail pageonmail = ShellExecute(Me.hwnd, "Open", "mailto:phillip@softhome.net", "", App.Path, 1) Unload Me End Sub