home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form3
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Registering DEMO Program"
- ClientHeight = 2670
- ClientLeft = 2100
- ClientTop = 2220
- ClientWidth = 6615
- ControlBox = 0 'False
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 3075
- Left = 2040
- LinkTopic = "Form3"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2670
- ScaleWidth = 6615
- Top = 1875
- Width = 6735
- Begin VB.CommandButton Command1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Register"
- Default = -1 'True
- Height = 495
- Left = 2400
- TabIndex = 0
- Top = 1920
- Width = 1575
- End
- Begin Threed.SSFrame SSFrame1
- Height = 1215
- Left = 240
- TabIndex = 1
- Top = 360
- Width = 6135
- _Version = 65536
- _ExtentX = 10821
- _ExtentY = 2143
- _StockProps = 14
- Begin VB.TextBox Text2
- Appearance = 0 'Flat
- Height = 285
- Left = 1800
- TabIndex = 5
- Text = "74030960"
- Top = 720
- Width = 3975
- End
- Begin VB.TextBox Text1
- Appearance = 0 'Flat
- Height = 285
- Left = 1800
- TabIndex = 4
- Text = "UserKey"
- Top = 240
- Width = 3975
- End
- Begin VB.Label Label2
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Reg Key"
- ForeColor = &H80000008&
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 720
- Width = 1335
- End
- Begin VB.Label Label1
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "User Key"
- ForeColor = &H80000008&
- Height = 255
- Left = 240
- TabIndex = 2
- Top = 240
- Width = 1335
- End
- End
- Attribute VB_Name = "Form3"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- Dim i As Integer
- Registered = RTRegister(cPrg, Text1.Text, Text2.Text)
- If Registered > 0 Then
- If RTIsCountLock(cPrg) Then
- i = RTDelCountLock(cPrg)
- ElseIf RTIsDateLock(cPrg) Then
- i = RTDelDateLock(cPrg)
- End If
- Locks = 0
- Cnt = 1
- Else
- MsgBox "Wrong registration key!", MB_ICONEXCLAMATION + MB_OK
- End If
- Unload Me
- End Sub
- Private Sub SSFrame1_Click()
- USER Key
- End Sub
-