?? form7.frm
字號:
VERSION 5.00
Begin VB.Form B_editpass
BackColor = &H00FFE7C6&
BorderStyle = 3 'Fixed Dialog
Caption = "冰點[BinDNS] - 域名密碼修改"
ClientHeight = 2745
ClientLeft = 45
ClientTop = 435
ClientWidth = 4170
Icon = "Form7.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2745
ScaleWidth = 4170
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
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
IMEMode = 3 'DISABLE
Left = 1335
PasswordChar = "*"
TabIndex = 1
Top = 735
Width = 2315
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
IMEMode = 3 'DISABLE
Left = 1335
PasswordChar = "*"
TabIndex = 2
Top = 1095
Width = 2315
End
Begin VB.TextBox Text4
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
IMEMode = 3 'DISABLE
Left = 1335
PasswordChar = "*"
TabIndex = 3
Top = 1455
Width = 2315
End
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
Height = 285
Left = 1335
TabIndex = 0
Top = 375
Width = 1115
End
Begin VB.Label com_t1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "確 定"
ForeColor = &H00008000&
Height = 180
Left = 1148
TabIndex = 11
Top = 2355
Width = 540
End
Begin VB.Label com_t2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "重 填"
ForeColor = &H00008080&
Height = 180
Left = 2468
TabIndex = 10
Top = 2355
Width = 540
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "目前密碼:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 9
Top = 780
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "新建密碼:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 8
Top = 1140
Width = 900
End
Begin VB.Shape Shape1
BorderColor = &H00808080&
Height = 1815
Left = 240
Top = 120
Width = 3735
End
Begin VB.Shape Shape3
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 720
Width = 2355
End
Begin VB.Shape Shape4
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 1080
Width = 2355
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "域名帳號:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 7
Top = 420
Width = 900
End
Begin VB.Shape Shape5
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 1440
Width = 2355
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "重復密碼:"
ForeColor = &H00400040&
Height = 180
Left = 360
TabIndex = 6
Top = 1500
Width = 900
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 = 5
Top = 405
Width = 1080
End
Begin VB.Shape Shape2
BorderColor = &H00004000&
Height = 315
Left = 1320
Top = 360
Width = 1140
End
Begin VB.Label ts
AutoSize = -1 'True
BackStyle = 0 'Transparent
Height = 180
Left = 240
TabIndex = 4
Top = 1965
Width = 90
End
Begin VB.Image com_2
Height = 330
Left = 2213
Top = 2280
Width = 1065
End
Begin VB.Image com_1
Height = 330
Left = 893
Top = 2280
Width = 1065
End
End
Attribute VB_Name = "B_editpass"
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_yzpass(Text3.Text) = False Or N_yzpass(Text4.Text) = False Or N_yzpass(Text2.Text) = False Then
MsgBox "您的密碼格式錯誤", 0, "提示:輸入出現錯誤"
Exit Sub
End If
If Text3.Text <> Text4.Text Then
MsgBox "新設置的密碼,二次輸入不相同", 0, "提示:輸入出現錯誤"
Exit Sub
End If
Dim a As String, b As String
b = "http://@(..網址..)@/free/editpass.php?username=" & Text1.Text & _
"&oldpass=" & MD5(Text2.Text) & _
"&password=" & MD5(Text4.Text)
a = getxml(b)
If a = "1" Then
MsgBox "域名 [ " & Text1.Text & ".nouo.com ]的密碼修改成功!", 0, "友好提示"
Wlog "域名 [ " & Text1.Text & ".nouo.com ]的密碼修改成功"
Unload Me
Else
MsgBox "域名 [ " & Text1.Text & ".nouo.com ]的密碼修改失敗!" & Chr(13) & "請檢查帳戶和密碼是否正確輸入", 0, "警告"
Wlog "嘗試修改域名 [ " & Text1.Text & ".nouo.com ]的密碼失敗"
End If
End Sub
Private Sub com_2_Click()
com_2.Picture = myf.i3.Picture
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.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 = "請輸入目前正在使用的密碼,長度為6-16位"
HideK Me, Text2, Shape3
End Sub
Private Sub Text3_GotFocus()
ts.Caption = "請輸入新密碼,長度為6-16位"
HideK Me, Text3, Shape4
End Sub
Private Sub Text4_GotFocus()
ts.Caption = "請再輸入一次密碼,長度為6-16位"
HideK Me, Text4, Shape5
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -