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

📄 frmgsendsms.frm

📁 短信平台管理系统是一个短信收发的平台,用户可以找一些代理的短信平台(IP),在系统里修改一些设置就可以进行短信的收发,有短信服务器的IP,服务器端口.系统还有一些常用用户的设置,包括客户资料,客户分类
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmGsendsms 
   Caption         =   "短信群发"
   ClientHeight    =   3840
   ClientLeft      =   4365
   ClientTop       =   3960
   ClientWidth     =   5265
   LinkTopic       =   "Form2"
   ScaleHeight     =   3840
   ScaleWidth      =   5265
   Begin VB.CheckBox Chkall 
      Caption         =   "向所有的客户发送?"
      Height          =   375
      Left            =   240
      TabIndex        =   13
      Top             =   120
      Width           =   2895
   End
   Begin VB.TextBox txtStime 
      DataField       =   "username"
      Height          =   285
      Left            =   1440
      TabIndex        =   8
      Top             =   2760
      Width           =   3135
   End
   Begin VB.TextBox txtSms 
      DataField       =   "username"
      Height          =   1365
      Left            =   1440
      MultiLine       =   -1  'True
      TabIndex        =   7
      Top             =   1320
      Width           =   3135
   End
   Begin VB.TextBox txtGSID 
      DataField       =   "userid"
      Height          =   285
      Left            =   3000
      TabIndex        =   6
      Top             =   4110
      Width           =   3375
   End
   Begin VB.TextBox txtCname 
      DataField       =   "username"
      Enabled         =   0   'False
      Height          =   285
      Left            =   1440
      TabIndex        =   5
      Top             =   720
      Width           =   3135
   End
   Begin VB.CommandButton cmdcancel 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   375
      Left            =   3480
      TabIndex        =   4
      Top             =   3270
      Width           =   1215
   End
   Begin VB.CommandButton cmdok 
      Caption         =   "保存"
      Default         =   -1  'True
      Height          =   375
      Left            =   2040
      TabIndex        =   3
      Top             =   3270
      Width           =   1215
   End
   Begin VB.TextBox txtCid 
      DataField       =   "userid"
      Height          =   285
      Left            =   3000
      TabIndex        =   2
      Top             =   4680
      Width           =   3375
   End
   Begin VB.CommandButton Cmdrefcus 
      Caption         =   "..."
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   4680
      TabIndex        =   1
      Top             =   720
      Width           =   375
   End
   Begin VB.CommandButton cmdrefsms 
      Caption         =   "..."
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   4680
      TabIndex        =   0
      Top             =   1320
      Width           =   375
   End
   Begin VB.Label lblLabels 
      Caption         =   "发送时间:"
      Height          =   255
      Index           =   4
      Left            =   240
      TabIndex        =   12
      Top             =   2775
      Width           =   1095
   End
   Begin VB.Label lblLabels 
      Caption         =   "短信:"
      Height          =   255
      Index           =   3
      Left            =   240
      TabIndex        =   11
      Top             =   1335
      Width           =   1095
   End
   Begin VB.Label lblLabels 
      Caption         =   "User ID:"
      Height          =   255
      Index           =   1
      Left            =   1200
      TabIndex        =   10
      Top             =   4110
      Width           =   1815
   End
   Begin VB.Label lblLabels 
      Caption         =   "群组名称:"
      Height          =   255
      Index           =   2
      Left            =   240
      TabIndex        =   9
      Top             =   735
      Width           =   1095
   End
End
Attribute VB_Name = "frmGsendsms"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public ok As String

Public value As m_gsendsms





Private Sub Cmdcancel_Click()
    ok = False
    Me.Hide

End Sub

Private Sub CmdOk_Click()
On Error GoTo eh
    value.gsid = Me.txtGSID
    
   
    value.cid = Me.txtCid
    value.cname = Me.txtCname
  
    'value.mobile = Me.txtMobile
  
    value.sms = Me.txtSms
    value.stime = CDate(Me.txtStime)
    
    value.isall = IIf(Me.Chkall = 0, False, True)
    If (value.rtime = value.stime) Then
        value.imsend = True
    Else
        value.imsend = False
    End If
    
    ok = True
    Me.Hide
    Exit Sub
eh:
    MsgBox "输入错误,请检查!", vbInformation, "输入错误"

End Sub

Private Sub Form_Load()
    value.rtime = Date + Time
    value.stime = value.rtime
    Me.txtGSID = value.gsid
    Me.txtCid = value.cid
    Me.txtCname = value.cname
   
    Me.Chkall.value = 0
    Me.txtSms = value.sms
    Me.txtStime = Format(value.stime, Dateformat)

End Sub
Private Sub cmdrefsms_Click()
    Dim vc As vc_in
    Set vc = Ins_vc_smsm
    Dim sps As spListHeaders
    Set sps = vc.Ref
    Me.txtSms = sps(sps.SUBIndex("text")).Other1
   
    
    releObject sps
End Sub

Private Sub Cmdrefcus_Click()
    Dim vc As vc_in
    Set vc = Ins_vc_cusclass
    Dim sps As spListHeaders
    Set sps = vc.Ref
    Me.txtCid = sps(sps.SUBIndex("ccid")).Other1
    Me.txtCname = sps(sps.SUBIndex("cname")).Other1
    releObject sps
End Sub



Private Sub Form_Unload(Cancel As Integer)
    ok = False
End Sub




⌨️ 快捷键说明

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