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

📄 frm_pro.frm

📁 通过串口与手机模块收发短信。已经用sim100测试过
💻 FRM
字号:
VERSION 5.00
Object = "{74848F95-A02A-4286-AF0C-A3C755E4A5B3}#1.0#0"; "actskn43.ocx"
Begin VB.Form Frm_Pro 
   Caption         =   "Form1"
   ClientHeight    =   3840
   ClientLeft      =   3840
   ClientTop       =   3120
   ClientWidth     =   5280
   LinkTopic       =   "Form1"
   ScaleHeight     =   3840
   ScaleWidth      =   5280
   Begin VB.Frame Frm_GSM 
      Height          =   2295
      Left            =   480
      TabIndex        =   5
      Top             =   840
      Width           =   4335
      Begin VB.TextBox ComCode 
         Height          =   270
         Left            =   1200
         TabIndex        =   10
         Top             =   720
         Width           =   2535
      End
      Begin VB.TextBox ScaTxt 
         Height          =   270
         Left            =   1200
         TabIndex        =   9
         Top             =   240
         Width           =   2535
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel10 
         Height          =   255
         Left            =   360
         OleObjectBlob   =   "Frm_Pro.frx":0000
         TabIndex        =   8
         Top             =   720
         Width           =   975
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel9 
         Height          =   255
         Left            =   360
         OleObjectBlob   =   "Frm_Pro.frx":0068
         TabIndex        =   7
         Top             =   240
         Width           =   855
      End
   End
   Begin VB.CommandButton Command3 
      Caption         =   "应用"
      Height          =   375
      Left            =   3720
      TabIndex        =   4
      Top             =   3240
      Width           =   975
   End
   Begin VB.CommandButton Command2 
      Caption         =   "确定"
      Height          =   375
      Left            =   2160
      TabIndex        =   3
      Top             =   3240
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "取消"
      Height          =   375
      Left            =   600
      TabIndex        =   2
      Top             =   3240
      Width           =   975
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      ItemData        =   "Frm_Pro.frx":00D0
      Left            =   1440
      List            =   "Frm_Pro.frx":00DA
      TabIndex        =   1
      Text            =   "GSM"
      Top             =   240
      Width           =   1575
   End
   Begin ACTIVESKINLibCtl.SkinLabel SkinLabel1 
      Height          =   255
      Left            =   840
      OleObjectBlob   =   "Frm_Pro.frx":00E9
      TabIndex        =   0
      Top             =   240
      Width           =   615
   End
   Begin VB.Frame Frm_GPRS 
      Height          =   2295
      Left            =   480
      TabIndex        =   6
      Top             =   840
      Width           =   4335
   End
End
Attribute VB_Name = "Frm_Pro"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Unload Me
End Sub

Private Sub Command2_Click()
  SaveINI "GSM", "SCA", ScaTxt, App.Path & "\sysini\protocal.ini"
  SaveINI "GSM", "COM", ComCode, App.Path & "\sysini\protocal.ini"
  Unload Me
End Sub

Private Sub Command3_Click()
   SaveINI "GSM", "SCA", ScaTxt, App.Path & "\sysini\protocal.ini"
   SaveINI "GSM", "COM", ComCode, App.Path & "\sysini\protocal.ini"
End Sub

Private Sub Form_Load()
  'ScaTxt.Mask = "+8699999999999"
  'ComCode.Mask = "99999999999"
   ScaTxt = GetINI("GSM", "SCA", App.Path & "\sysini\protocal.ini")
  
  ComCode = GetINI("GSM", "COM", App.Path & "\sysini\protocal.ini")
End Sub

⌨️ 快捷键说明

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