Form2.frm
资源名称:seoseach.rar [点击查看]
上传用户:cl_dengshi
上传日期:2021-11-16
资源大小:1918k
文件大小:5k
源码类别:
搜索引擎
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form Form2
- BorderStyle = 1 'Fixed Single
- Caption = "注册"
- ClientHeight = 1365
- ClientLeft = 5235
- ClientTop = 4905
- ClientWidth = 4095
- Icon = "Form2.frx":0000
- LinkTopic = "Form2"
- MaxButton = 0 'False
- ScaleHeight = 1365
- ScaleWidth = 4095
- Begin VB.Frame Frame1
- Caption = "软件激活"
- Height = 1215
- Left = 0
- TabIndex = 0
- Top = 120
- Width = 4095
- Begin VB.CommandButton Command2
- Caption = "购 买"
- Height = 375
- Left = 2880
- TabIndex = 7
- Top = 720
- Width = 1095
- End
- Begin VB.CommandButton Command1
- Caption = "激 活"
- Default = -1 'True
- Height = 375
- Left = 2880
- TabIndex = 5
- Top = 240
- Width = 1095
- End
- Begin VB.TextBox Text2
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- IMEMode = 3 'DISABLE
- Left = 840
- PasswordChar = "*"
- TabIndex = 4
- Top = 720
- Width = 1935
- End
- Begin VB.TextBox Text1
- BackColor = &H80000000&
- BeginProperty Font
- Name = "宋体"
- Size = 10.5
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 390
- Left = 840
- Locked = -1 'True
- TabIndex = 2
- Top = 240
- Width = 1935
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- Appearance = 0 'Flat
- AutoSize = -1 'True
- BackColor = &H80000005&
- BackStyle = 0 'Transparent
- ForeColor = &H80000008&
- Height = 180
- Left = 1920
- TabIndex = 6
- Top = 315
- Width = 90
- End
- Begin VB.Label Label2
- AutoSize = -1 'True
- Caption = "激活码:"
- Height = 180
- Left = 120
- TabIndex = 3
- Top = 840
- Width = 720
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "用户号:"
- Height = 180
- Left = 105
- TabIndex = 1
- Top = 360
- Width = 720
- End
- End
- End
- Attribute VB_Name = "Form2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim conn As Object
- Private Sub Command1_Click()
- Set login = New cmd5
- If Text2.Text <> "" Then
- If Text2.Text = login.Md5_String_Calc(Text1.Text & "shzf.zuiai12.com") Then
- Set rs = CreateObject("adodb.recordset")
- SQL = "select * from soft"
- rs.open SQL, conn, 3, 3
- rs("soft_ok") = True
- rs.Update
- rs.Close
- Set rs = Nothing
- MsgBox "注册成功,请重启软件!", vbInformation, "Warning"
- Else
- MsgBox "对不起!您的激活码有误请重新输入。", vbInformation, "Warning"
- End If
- Else
- MsgBox "对不起!请你输入有效激活码!", vbInformation, "Warning"
- End If
- End Sub
- Private Sub Command2_Click()
- Shell "cmd /c start http://item.taobao.com/auction/item_detail-0db1-681845bfa48ad39a80d85f4e56d64b04.jhtml", vbHide
- End Sub
- Private Sub Form_Load()
- Set conn = CreateObject("adodb.connection")
- conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "union.mdb ;Persist Security Info=False;Jet OLEDB:Database Password=zuiai12."
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Form1.Enabled = True
- End Sub
English
