📄 form4.frm
字号:
VERSION 5.00
Begin VB.Form B_getpass
BackColor = &H00FFE7C6&
BorderStyle = 3 'Fixed Dialog
Caption = "冰点[BinDNS] - 取回域名密码"
ClientHeight = 2175
ClientLeft = 45
ClientTop = 435
ClientWidth = 4215
ForeColor = &H00000000&
Icon = "Form4.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2175
ScaleWidth = 4215
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text1
Appearance = 0 'Flat
BackColor = &H00FFFBEE&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 285
Left = 1335
TabIndex = 0
Top = 255
Width = 1115
End
Begin VB.TextBox Text3
Appearance = 0 'Flat
BackColor = &H00FFFBEE&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1335
TabIndex = 2
Top = 975
Width = 2315
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
BackColor = &H00FFFBEE&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1335
TabIndex = 1
Top = 615
Width = 2315
End
Begin VB.Label ts
AutoSize = -1 'True
BackStyle = 0 'Transparent
Height = 180
Left = 240
TabIndex = 9
Top = 1395
Width = 90
End
Begin VB.Shape Shape2
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 240
Width = 1140
End
Begin VB.Label Label5
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = ".nouo.com"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00004000&
Height = 270
Left = 2520
TabIndex = 8
Top = 285
Width = 1080
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "QQ号码:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 7
Top = 1020
Width = 900
End
Begin VB.Shape Shape4
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 960
Width = 2355
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "域名帐号:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 6
Top = 300
Width = 900
End
Begin VB.Shape Shape3
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 600
Width = 2355
End
Begin VB.Shape Shape1
BorderColor = &H00808080&
Height = 1215
Left = 240
Top = 120
Width = 3735
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "注册邮箱:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 5
Top = 660
Width = 900
End
Begin VB.Label com_t2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "重 填"
ForeColor = &H00008080&
Height = 180
Left = 2535
TabIndex = 4
Top = 1755
Width = 540
End
Begin VB.Label com_t1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "确 定"
ForeColor = &H00008000&
Height = 180
Left = 1215
TabIndex = 3
Top = 1755
Width = 540
End
Begin VB.Image com_2
Height = 330
Left = 2280
Top = 1680
Width = 1065
End
Begin VB.Image com_1
Height = 330
Left = 960
Top = 1680
Width = 1065
End
End
Attribute VB_Name = "B_getpass"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'|Download by http://www.codefans.net
'|
'|本代码因为网址接口现在正常使用,所以把网址去掉了,程序是绝对正常使用的
'|
'|本程序的原理就是远程获取网页地址,通过网页来对DNS服务器进行操作。
'|
'|如REG.PHP就是注册接口。
'|
'|网页不能直接对DNS服务器操作,操作有命令。可以通过VB编写DLL来执行命令。
'|
'|其实很简单了。版权的也不要了。嘿嘿。
'|
'|这个版本快被俺丢掉了。要想用免费域名的:)http://www.nouo.com去下载。哇哈哈哈哈
'|
'|嗯嗯。最新的是控制台命令+服务版本。很稳定。。以后有机会公布。
'按钮---start
Dim c_c As Boolean
Private Sub com_1_Click()
com_1.Picture = myf.i3.Picture
If N_yzuser(Text1.Text) = False Then
MsgBox "您的帐户输入错误", 0, "提示:输入出现错误"
Exit Sub
End If
If N_yzemail(Text2.Text) = False Then
MsgBox "您的邮箱格式错误", 0, "提示:输入出现错误"
Exit Sub
End If
If N_yzQQ(Text3.Text) = False Then
MsgBox "QQ号码格式错误", 0, "提示:输入出现错误"
Exit Sub
End If
Dim a As String, b As String
b = "http://@(..网址..)@/passwd.php?username=" & Text1.Text & _
"&email=" & Text2.Text & _
"&oicq=" & Text3.Text
a = getxml(b)
If a = "err" Then
MsgBox "服务器连接错误!", 0, "警告"
Else
If a = "0" Then
MsgBox "域名 [ " & Text1.Text & ".nouo.com ]的密码修改链接已发送至[" & Text2.Text & "]!" & Chr(13) & "请查收~", 0, "友好提示"
Unload Me
Else
MsgBox "域名 [ " & Text1.Text & ".nouo.com ] 发送失败,请检查资料是否正确!", 0, "警告"
End If
End If
End Sub
Private Sub com_2_Click()
com_2.Picture = myf.i3.Picture
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
End Sub
Private Sub com_t1_Click()
com_1_Click
End Sub
Private Sub com_t2_Click()
com_2_Click
End Sub
Private Sub com_t1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If c_c Then
com_1.Picture = myf.i2.Picture
c_c = False
End If
End Sub
Private Sub com_t2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If c_c Then
com_2.Picture = myf.i2.Picture
c_c = False
End If
End Sub
Private Sub com_1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If c_c Then
com_1.Picture = myf.i2.Picture
c_c = False
End If
End Sub
Private Sub com_2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If c_c Then
com_2.Picture = myf.i2.Picture
c_c = False
End If
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
com_1.Picture = myf.i1.Picture
com_2.Picture = myf.i1.Picture
c_c = True
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If UnloadMode = 0 Then
Cancel = 1
Me.Hide
End If
End Sub
Private Sub Text1_GotFocus()
ts.Caption = "帐号即为主机名,长度为10位以下字母数字组合"
HideK Me, Text1, Shape2
End Sub
Private Sub Text2_GotFocus()
ts.Caption = "注册时的邮箱地址,密码链接将会发送至此邮箱"
HideK Me, Text2, Shape3
End Sub
Private Sub Text3_GotFocus()
ts.Caption = "注册时使用的QQ号码,验证您是否为帐号所有人"
HideK Me, Text3, Shape4
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -