VERSION 4.00 Begin VB.Form BizDexK BorderStyle = 1 'Fixed Single Caption = "BizDex v2.00 keymaker" ClientHeight = 2700 ClientLeft = 3720 ClientTop = 2205 ClientWidth = 4320 Height = 3105 Left = 3660 LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 2700 ScaleWidth = 4320 Top = 1860 Width = 4440 Begin VB.CommandButton Command2 Caption = "E&xit" Height = 495 Left = 2400 TabIndex = 7 Top = 2040 Width = 855 End Begin VB.CommandButton Command1 Caption = "&Ok" Height = 495 Left = 1080 TabIndex = 6 Top = 2040 Width = 855 End Begin VB.TextBox KeyBox Height = 285 Left = 840 TabIndex = 4 Top = 1440 Width = 2775 End Begin VB.TextBox NameBox Height = 285 Left = 840 TabIndex = 2 Top = 960 Width = 2775 End Begin VB.Label Label4 BackStyle = 0 'Transparent Caption = "Your Code:" Height = 255 Left = 0 TabIndex = 5 Top = 1467 Width = 855 End Begin VB.Label Label3 BackStyle = 0 'Transparent Caption = "Name:" Height = 255 Left = 240 TabIndex = 3 Top = 980 Width = 495 End Begin VB.Label Label2 BackStyle = 0 'Transparent Caption = "--=DaRk sTAlKeR 96=--" BeginProperty Font name = "Arial" charset = 0 weight = 700 size = 11.25 underline = 0 'False italic = -1 'True strikethrough = 0 'False EndProperty ForeColor = &H000000C0& Height = 375 Left = 720 TabIndex = 1 Top = 480 Width = 2655 End Begin VB.Label Label1 BackStyle = 0 'Transparent Caption = "BixDex v2.00 keymaker by" BeginProperty Font name = "Arial" charset = 0 weight = 700 size = 12 underline = 0 'False italic = -1 'True strikethrough = 0 'False EndProperty ForeColor = &H000000C0& Height = 375 Left = 600 TabIndex = 0 Top = 120 Width = 3135 End End Attribute VB_Name = "BizDexK" Attribute VB_Creatable = False Attribute VB_Exposed = False Private Sub Command1_Click() If Len(NameBox.Text) <> 0 Then KeyBox.Text = MakeKey(NameBox.Text) End If End Sub Function MakeKey(ByVal Name As String) As String Dim X As Variant Dim Tmp As Variant For X = 1 To Len(Name) Tmp = Tmp + Asc(Mid(Name, X, Len(Name))) Next X MakeKey = CStr(((Tmp + 2430) \ 1.5) * 2) End Function Private Sub Command2_Click() End End Sub