📄 email.frm
字号:
VERSION 5.00
Object = "{90F3D7B3-92E7-44BA-B444-6A8E2A3BC375}#1.0#0"; "actskin4.ocx"
Begin VB.Form Form3
Caption = "Add Email"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form3"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 1 'CenterOwner
Begin ACTIVESKINLibCtl.SkinLabel SkinLabel3
Height = 330
Left = 1530
OleObjectBlob = "email.frx":0000
TabIndex = 6
Top = 165
Width = 1500
End
Begin VB.CommandButton Command2
Caption = "S&ave"
Height = 495
Left = 2640
TabIndex = 5
Top = 2145
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "&New"
Height = 495
Left = 810
TabIndex = 4
Top = 2175
Width = 1215
End
Begin ACTIVESKINLibCtl.SkinLabel SkinLabel2
Height = 315
Left = 210
OleObjectBlob = "email.frx":0076
TabIndex = 3
Top = 840
Width = 585
End
Begin ACTIVESKINLibCtl.SkinLabel SkinLabel1
Height = 240
Left = 210
OleObjectBlob = "email.frx":00E0
TabIndex = 2
Top = 1350
Width = 675
End
Begin VB.TextBox txtemail
Height = 420
Left = 960
TabIndex = 1
Top = 1200
Width = 2730
End
Begin VB.TextBox txtname
Height = 405
Left = 960
TabIndex = 0
Top = 720
Width = 2745
End
Begin ACTIVESKINLibCtl.Skin Skin1
Left = 0
OleObjectBlob = "email.frx":014C
Top = 0
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
txtemail.Text = ""
txtname.Text = ""
End Sub
Private Sub Command2_Click()
Dim db As Database
Dim rs As Recordset
Set db = OpenDatabase(App.Path + "\quotesmanager.mdb")
Set rs = db.OpenRecordset("select * from email")
rs.AddNew
rs.Fields(0) = txtemail
rs.Fields(1) = txtname
rs.Update
rs.Close
db.Close
MsgBox "Email successfully added"
populatelist "select * from email", Form1.List1
End Sub
Private Sub Form_Load()
Skin1.ApplySkin hWnd
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -