VERSION 5.00
Begin VB.Form Form2
BorderStyle = 3 'Fixed Dialog
Caption = "About Address Book -04"
ClientHeight = 1935
ClientLeft = 4170
ClientTop = 3435
ClientWidth = 4800
Icon = "frmabout.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1935
ScaleWidth = 4800
ShowInTaskbar = 0 'False
Begin VB.PictureBox Picture1
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 720
Left = 240
Picture = "frmabout.frx":058A
ScaleHeight = 720
ScaleWidth = 720
TabIndex = 0
Top = 240
Width = 720
End
Begin VB.Label lblLicense
AutoSize = -1 'True
BackStyle = 0 'Transparent
Height = 195
Left = 2520
TabIndex = 4
Top = 1680
Width = 45
End
Begin VB.Label Label2
Caption = "This Product is Licensed to :"
Height = 255
Left = 240
TabIndex = 3
Top = 1680
Width = 2055
End
Begin VB.Line Line1
X1 = 120
X2 = 4680
Y1 = 1560
Y2 = 1560
End
Begin VB.Label Label1
Caption = "Thank you for using this product"
Height = 255
Left = 1920
TabIndex = 2
Top = 1080
Width = 2535
End
Begin VB.Label lblDescription
Height = 615
Left = 1320
TabIndex = 1
Top = 240
Width = 3135
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Dim cname As String * 100
Dim intSize As Long
Private Sub Form_Load()
intSize = 100
lblDescription.Caption = App.FileDescription
GetComputerName cname, intSize
lblLicense.Caption = cname
End Sub