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

📄 smspdufrm.frm

📁 通用GSM模块汉字发送VB程序:具有自动汉字PDU码生成及转换的功能
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmCOMSMS 
   Caption         =   "GSM发送汉字信息窗"
   ClientHeight    =   5430
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   7110
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   12
      Charset         =   134
      Weight          =   700
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "SMSPDUfrm.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   5430
   ScaleWidth      =   7110
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command3 
      Caption         =   "车主手机号码保存"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   600
      Left            =   360
      TabIndex        =   15
      Top             =   1320
      Width           =   1270
   End
   Begin VB.ListBox List1 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   270
      IMEMode         =   1  'ON
      ItemData        =   "SMSPDUfrm.frx":030A
      Left            =   360
      List            =   "SMSPDUfrm.frx":0323
      TabIndex        =   6
      Top             =   4680
      Width           =   615
   End
   Begin VB.CommandButton Command1 
      Caption         =   "发送汉字SMS"
      Default         =   -1  'True
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   705
      Left            =   360
      TabIndex        =   13
      Top             =   2880
      Width           =   1335
   End
   Begin VB.TextBox Text7 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   3630
      TabIndex        =   11
      ToolTipText     =   "1"
      Top             =   1920
      Width           =   285
   End
   Begin VB.TextBox Text6 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1875
      Left            =   2040
      MultiLine       =   -1  'True
      TabIndex        =   9
      Top             =   2520
      Width           =   5010
   End
   Begin VB.CommandButton Command4 
      Caption         =   "删除SIM短信息"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   360
      TabIndex        =   8
      Top             =   2040
      Width           =   1335
   End
   Begin MSCommLib.MSComm MSComm1 
      Left            =   6960
      Top             =   4080
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      DTREnable       =   -1  'True
      RThreshold      =   1
      RTSEnable       =   -1  'True
      InputMode       =   1
   End
   Begin VB.CommandButton Command2 
      Caption         =   "读SIM短信息"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   360
      TabIndex        =   7
      Top             =   600
      Width           =   1305
   End
   Begin VB.TextBox Text5 
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   1680
      TabIndex        =   4
      Top             =   4665
      Width           =   2415
   End
   Begin VB.TextBox Text4 
      Enabled         =   0   'False
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   4320
      MultiLine       =   -1  'True
      TabIndex        =   2
      Top             =   4680
      Width           =   2655
   End
   Begin VB.TextBox Text2 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1335
      Left            =   2040
      MultiLine       =   -1  'True
      TabIndex        =   0
      Top             =   480
      Width           =   4905
   End
   Begin VB.Label Label9 
      Caption         =   "PC串口:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   360
      TabIndex        =   14
      Top             =   4440
      Width           =   660
   End
   Begin VB.Label Label7 
      Caption         =   "SMS/TEL编号:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   2160
      TabIndex        =   12
      Top             =   1920
      Width           =   1365
   End
   Begin VB.Label Label6 
      Caption         =   "SMS汉字信息输入:"
      Enabled         =   0   'False
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   2040
      TabIndex        =   10
      Top             =   2280
      Visible         =   0   'False
      Width           =   1800
   End
   Begin VB.Label Label5 
      Caption         =   "变换信息号码"
      Enabled         =   0   'False
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   4335
      TabIndex        =   5
      Top             =   4440
      Width           =   1455
   End
   Begin VB.Label Label4 
      Caption         =   "机主电话号码"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   1695
      TabIndex        =   3
      Top             =   4440
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "信息反馈窗口"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   3720
      TabIndex        =   1
      Top             =   165
      Width           =   1215
   End
   Begin VB.Menu mnuComm 
      Caption         =   "GSM初始化"
      Index           =   0
      Begin VB.Menu mnuCommPort232 
         Caption         =   "串口设置"
         Enabled         =   0   'False
         Visible         =   0   'False
      End
      Begin VB.Menu mnuCommSelcheck 
         Caption         =   "GSM_MODEM自检"
      End
      Begin VB.Menu mnuCommOut 
         Caption         =   "退出"
      End
   End
   Begin VB.Menu mnuComm 
      Caption         =   "SIM卡信息"
      Index           =   1
      Begin VB.Menu mnuCommRead 
         Caption         =   "读SIM卡短信"
      End
      Begin VB.Menu mnuExchangeSIM 
         Caption         =   "更换SIM卡"
      End
      Begin VB.Menu mnuCommClear 
         Caption         =   "清除SIM卡信息"
      End
      Begin VB.Menu mnuCommSetting 
         Caption         =   "GSM模块设置"
         Enabled         =   0   'False
      End
   End
   Begin VB.Menu mnuVersion 
      Caption         =   "软件帮助"
      Begin VB.Menu mnuHELP 
         Caption         =   "帮助文件"
      End
      Begin VB.Menu mnuSetVersion 
         Caption         =   "软件版本"
      End
   End
   Begin VB.Menu mnuSet 
      Caption         =   "GSM网络设置"
      Enabled         =   0   'False
      Visible         =   0   'False
      Begin VB.Menu mnuSetCenter 
         Caption         =   "短消息中心号码设置"
         Enabled         =   0   'False
      End
      Begin VB.Menu mnuSetOut 
         Caption         =   "关闭模块"
      End
   End
End
Attribute VB_Name = "frmCOMSMS"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
''Dim adoBasedata As New ADODB.Connection
Dim aa, flg, Funtion, MessageOut, ClearMessage, Clearstate, CheckMessage, funcount As Byte
Dim Checdata, Chedabu As String

⌨️ 快捷键说明

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