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

📄 setting.frm

📁 自己写的一个IMEI号码修改写入的小工具,适用于MTK平台,希望大家指导.
💻 FRM
字号:
VERSION 5.00
Begin VB.Form form2 
   Caption         =   "设置"
   ClientHeight    =   2310
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5220
   Icon            =   "setting.frx":0000
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   ScaleHeight     =   2310
   ScaleWidth      =   5220
   StartUpPosition =   2  'CenterScreen
   Begin VB.ComboBox Combo2 
      Height          =   315
      ItemData        =   "setting.frx":7D42
      Left            =   960
      List            =   "setting.frx":7D5B
      Style           =   2  'Dropdown List
      TabIndex        =   5
      Top             =   960
      Width           =   1185
   End
   Begin VB.ComboBox Combo1 
      Height          =   315
      ItemData        =   "setting.frx":7D92
      Left            =   960
      List            =   "setting.frx":7DB4
      Style           =   2  'Dropdown List
      TabIndex        =   4
      Top             =   360
      Width           =   1185
   End
   Begin VB.TextBox Text1 
      Height          =   315
      Left            =   3960
      MaxLength       =   2
      TabIndex        =   3
      Top             =   360
      Width           =   975
   End
   Begin VB.TextBox Text2 
      Height          =   285
      Left            =   3960
      TabIndex        =   2
      Top             =   960
      Width           =   975
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取   消"
      Height          =   435
      Left            =   3000
      TabIndex        =   1
      Top             =   1680
      Width           =   1065
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确  定"
      Height          =   435
      Left            =   1200
      TabIndex        =   0
      Top             =   1680
      Width           =   1065
   End
   Begin VB.Label Label3 
      Caption         =   "开机延时(ms)"
      Height          =   375
      Left            =   2760
      TabIndex        =   9
      Top             =   960
      Width           =   1095
   End
   Begin VB.Label Label2 
      Caption         =   "波特率"
      Height          =   225
      Index           =   0
      Left            =   240
      TabIndex        =   8
      Top             =   1080
      Width           =   645
   End
   Begin VB.Label Label1 
      Caption         =   "串口"
      Height          =   225
      Left            =   240
      TabIndex        =   7
      Top             =   390
      Width           =   495
   End
   Begin VB.Label Label2 
      Caption         =   "SN号前2位"
      Height          =   225
      Index           =   1
      Left            =   2760
      TabIndex        =   6
      Top             =   360
      Width           =   975
   End
End
Attribute VB_Name = "form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Check1_Click()

End Sub

Private Sub Command1_Click()
Dim path1 As String
path1 = App.Path + "\setting.ini"
Open path1 For Output As #1
Print #1, "[Comport]"
Print #1, Combo1.Text
Print #1, "[DateRate]"
Print #1, Combo2.Text
Print #1, "[PowerON time]"
Print #1, Text2.Text
Print #1, "[Startsn]"
Print #1, Text1.Text
Close #1
Unload form2
Unload Form1
Load Form1
Load form2
Form1.Show
End Sub

Private Sub Command2_Click()
form2.Hide
End Sub

          
Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii = 8 Then
KeyAscii = 8
Exit Sub
End If
If KeyAscii < 47 Or KeyAscii > 58 Then
KeyAscii = 0
End If
End Sub

⌨️ 快捷键说明

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