⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 QQ登录器
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form Form1 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "QQ登陆参数"
   ClientHeight    =   2040
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2040
   ScaleWidth      =   4680
   StartUpPosition =   2  '屏幕中心
   Begin MSComDlg.CommonDialog cdg 
      Left            =   2160
      Top             =   840
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.CommandButton cmdBrowser 
      Caption         =   "浏览..."
      Height          =   255
      Left            =   3720
      TabIndex        =   7
      Top             =   120
      Width           =   855
   End
   Begin VB.TextBox txtQQpath 
      Height          =   270
      Left            =   840
      TabIndex        =   6
      Top             =   120
      Width           =   2775
   End
   Begin VB.CheckBox Check1 
      Caption         =   "隐身登陆"
      Height          =   255
      Left            =   3120
      TabIndex        =   2
      Top             =   480
      Value           =   1  'Checked
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "退出(&C)"
      Height          =   375
      Index           =   2
      Left            =   3720
      TabIndex        =   5
      Top             =   1560
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "生成命令行参数&D"
      Height          =   375
      Index           =   1
      Left            =   3000
      TabIndex        =   3
      Top             =   720
      Width           =   1575
   End
   Begin VB.CommandButton Command1 
      Caption         =   "登陆 QQ(&L)"
      Default         =   -1  'True
      Height          =   375
      Index           =   0
      Left            =   120
      TabIndex        =   4
      Top             =   1560
      Width           =   1095
   End
   Begin VB.TextBox txtPwdHash 
      Height          =   270
      Left            =   120
      TabIndex        =   8
      Top             =   1200
      Width           =   4455
   End
   Begin VB.TextBox txtQQpass 
      Height          =   270
      IMEMode         =   3  'DISABLE
      Left            =   840
      MaxLength       =   20
      PasswordChar    =   "*"
      TabIndex        =   1
      Top             =   840
      Width           =   2055
   End
   Begin VB.TextBox txtQQnum 
      Height          =   270
      Left            =   840
      MaxLength       =   10
      TabIndex        =   0
      ToolTipText     =   "数字,不能超过10位数"
      Top             =   480
      Width           =   2055
   End
   Begin VB.Label lblQQ 
      Caption         =   "QQ密码:"
      Height          =   255
      Index           =   2
      Left            =   120
      TabIndex        =   11
      Top             =   840
      Width           =   735
   End
   Begin VB.Label lblQQ 
      Caption         =   "QQ号码:"
      Height          =   255
      Index           =   1
      Left            =   120
      TabIndex        =   10
      Top             =   480
      Width           =   735
   End
   Begin VB.Label lblQQ 
      Caption         =   "QQ位置:"
      Height          =   255
      Index           =   0
      Left            =   120
      TabIndex        =   9
      Top             =   120
      Width           =   735
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdBrowser_Click()
    With cdg
        .DialogTitle = "指定QQ/TM位置..."
        .Filter = "QQ.exe|QQ.exe|TM文件|TMShell.exe|所有文件(*.*)|*.*"
        .DefaultExt = "QQ.exe|*.exe"
        .ShowOpen
    End With
    txtQQpath.Text = cdg.FileName
    SaveSetting "QQ", "main", "path", cdg.FileName
End Sub

Private Sub Command1_Click(Index As Integer)
If Index = 0 Then
    If Check1 = 1 Then
        Shell txtQQpath.Text & " /START QQUIN:" & txtQQnum.Text & " PWDHASH:" & Str2QQPwdHash(txtQQpass.Text) & " /STAT:" & "40"
    Else
        Shell txtQQpath.Text & " /START QQUIN:" & txtQQnum.Text & " PWDHASH:" & Str2QQPwdHash(txtQQpass.Text) & " /STAT:" & "41"
    End If
ElseIf Index = 1 Then
    If txtQQpass.Text = "" Or txtQQnum.Text = "" Then
        MsgBox "QQ号码或密码不能为空。", vbExclamation, "提示"
        Exit Sub
    End If
    If Check1 = 1 Then
        txtPwdHash.Text = txtQQpath.Text & " /START QQUIN:" & txtQQnum.Text & " PWDHASH:" & Str2QQPwdHash(txtQQpass.Text) & " /STAT:" & "40"
    Else
        txtPwdHash.Text = txtQQpath.Text & " /START QQUIN:" & txtQQnum.Text & " PWDHASH:" & Str2QQPwdHash(txtQQpass.Text) & " /STAT:" & "41"
    End If
Else
    End
End If
End Sub

Private Sub Form_Load()
    txtQQpath.Text = GetSetting("QQ", "main", "path")
End Sub

Private Sub txtPwdHash_GotFocus()
    txtPwdHash.SelStart = 0
    txtPwdHash.SelLength = Len(txtPwdHash)
End Sub

Private Sub txtPwdHash_KeyPress(KeyAscii As Integer)
    If KeyAscii = "3" Then Exit Sub
        KeyAscii = 0
End Sub

Private Sub txtPwdHash_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
  If Button = 2 Then
        Clipboard.Clear
  End If
End Sub

Private Sub txtQQnum_KeyPress(KeyAscii As Integer)
If (Chr(KeyAscii) > "9" Or Chr(KeyAscii) < "0" Or Chr(KeyAscii) = ".") And KeyAscii <> 8 Then
    KeyAscii = 0
End If
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -