📄 formzc.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form Formzc
Caption = "会员表"
ClientHeight = 8820
ClientLeft = 60
ClientTop = 450
ClientWidth = 10455
ForeColor = &H8000000B&
LinkTopic = "Form1"
ScaleHeight = 8820
ScaleWidth = 10455
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdx
Caption = "修改"
Height = 615
Left = 2760
TabIndex = 33
Top = 7680
Width = 1455
End
Begin VB.Frame Frame3
Caption = "对本我们的评价指数"
Height = 975
Left = 360
TabIndex = 30
Top = 6600
Width = 5895
Begin VB.HScrollBar HSlzs
Height = 375
LargeChange = 10
Left = 1560
Max = 100
TabIndex = 32
Top = 360
Width = 3975
End
Begin VB.TextBox txtzs
Height = 375
Left = 480
TabIndex = 31
Top = 360
Width = 855
End
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 8640
Top = 7560
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdsx
Caption = "选择上传相片路径"
Height = 615
Left = 6600
TabIndex = 29
Top = 6720
Width = 1935
End
Begin VB.CommandButton cmdfq
Caption = "放弃"
Height = 615
Left = 6720
TabIndex = 28
Top = 7680
Width = 1335
End
Begin VB.CommandButton cmdxg
Caption = "修改后确定"
Height = 615
Left = 4800
TabIndex = 27
Top = 7680
Width = 1455
End
Begin VB.CommandButton cmdsf
Caption = "上传并返回"
Height = 615
Left = 840
TabIndex = 26
Top = 7680
Width = 1455
End
Begin VB.CommandButton cmdqq
Caption = "点击这里"
Height = 495
Left = 120
TabIndex = 25
Top = 360
Width = 1335
End
Begin VB.PictureBox pctxp
Height = 5415
Left = 4080
ScaleHeight = 5355
ScaleWidth = 4635
TabIndex = 23
Top = 1080
Width = 4695
End
Begin VB.TextBox txtpp
Height = 375
Left = 1320
TabIndex = 22
Top = 6120
Width = 975
End
Begin VB.TextBox txtyd
Height = 375
Left = 1320
TabIndex = 20
Top = 5520
Width = 975
End
Begin VB.ComboBox cmblb
Height = 300
ItemData = "Formzc.frx":0000
Left = 360
List = "Formzc.frx":0019
TabIndex = 18
Text = "类别"
Top = 5040
Width = 1215
End
Begin VB.TextBox txtdz
Height = 270
Left = 1080
TabIndex = 17
Top = 4680
Width = 2415
End
Begin VB.Frame Frame2
Caption = "性别"
Height = 495
Left = 360
TabIndex = 13
Top = 3960
Width = 3135
Begin VB.OptionButton optnv
Caption = "女"
Height = 180
Left = 1920
TabIndex = 15
Top = 240
Width = 1095
End
Begin VB.OptionButton optna
Caption = "男"
Height = 180
Left = 720
TabIndex = 14
Top = 240
Width = 975
End
End
Begin VB.TextBox txtjg
Height = 375
Left = 960
TabIndex = 12
Top = 3480
Width = 2535
End
Begin VB.Frame Frame1
Caption = "出生年月"
Height = 735
Left = 360
TabIndex = 6
Top = 2520
Width = 3135
Begin VB.TextBox txtcy
Height = 270
Left = 2160
TabIndex = 10
Top = 240
Width = 615
End
Begin VB.TextBox txtcn
Height = 270
Left = 600
TabIndex = 8
Top = 240
Width = 855
End
Begin VB.Label Label6
Caption = "月"
Height = 255
Left = 1800
TabIndex = 9
Top = 240
Width = 255
End
Begin VB.Label Label5
Caption = "年"
Height = 255
Left = 240
TabIndex = 7
Top = 240
Width = 255
End
End
Begin VB.TextBox txthh
Height = 375
Left = 1200
TabIndex = 5
Top = 1800
Width = 2295
End
Begin VB.TextBox txtmz
Height = 375
Left = 1200
TabIndex = 3
Top = 1200
Width = 2295
End
Begin VB.TextBox txtqq
Height = 375
Left = 1560
TabIndex = 0
Top = 480
Width = 1695
End
Begin VB.Label Label1
Caption = "程序不完美,如果不上传资料,不要按左边按钮,如果按了请顺便填完并上传,多谢合作!!!!"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 615
Left = 3840
TabIndex = 34
Top = 0
Width = 4815
End
Begin VB.Label Label11
Caption = " 相 片"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 4080
TabIndex = 24
Top = 720
Width = 1815
End
Begin VB.Label Label10
Caption = "最喜欢的乒球品牌"
Height = 375
Left = 360
TabIndex = 21
Top = 6120
Width = 975
End
Begin VB.Label lblzr
Caption = "最喜欢的乒球运动员"
Height = 495
Left = 360
TabIndex = 19
Top = 5520
Width = 975
End
Begin VB.Label label8
Caption = "电子邮件"
Height = 255
Left = 240
TabIndex = 16
Top = 4680
Width = 735
End
Begin VB.Label Label7
Caption = "籍贯"
Height = 255
Left = 480
TabIndex = 11
Top = 3600
Width = 375
End
Begin VB.Label Label4
Caption = "会员号"
Height = 375
Left = 600
TabIndex = 4
Top = 1920
Width = 615
End
Begin VB.Label Label3
Caption = "要注册请先获得会员号"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 240
TabIndex = 2
Top = 0
Width = 3135
End
Begin VB.Line Line3
BorderColor = &H000000FF&
X1 = 240
X2 = 0
Y1 = 960
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H000000FF&
X1 = 3480
X2 = 3480
Y1 = 0
Y2 = 960
End
Begin VB.Line Line1
BorderColor = &H000000FF&
X1 = 240
X2 = 3480
Y1 = 960
Y2 = 960
End
Begin VB.Label Label2
Caption = "昵称"
Height = 375
Left = 600
TabIndex = 1
Top = 1320
Width = 495
End
End
Attribute VB_Name = "Formzc"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdfq_Click()
Formzc.cmdxg.Enabled = False
formwel.Show
Formzc.Hide
Formzc.txtcn = ""
Formzc.txtcy = ""
Formzc.txtdz = ""
Formzc.txthh = ""
Formzc.txtjg = ""
Formzc.txtmz = ""
Formzc.txtpp = ""
Formzc.txtqq = ""
Formzc.txtyd = ""
Formzc.txtzs = ""
Formzc.optna.Value = False
Formzc.optnv.Value = False
Formzc.cmblb.Text = "类别"
Formzc.HSlzs.Value = 0
Formzc.pctxp.Picture = LoadPicture("")
End Sub
Private Sub cmdqq_Click()
Open "a:\hm.dat" For Random As #2 Len = Len(hm)
Get #2, 1, hm
hm.o = hm.o + 1
txtqq.Text = hm.o
Close #2
Open "a:\hm.dat" For Random As #2 Len = Len(hm)
Put #2, 1, hm 'hh LOF(1) / Len(hy) + 1
Close #2
'Open "a:\hh.dat" For Random As #2 Len = Len(hh)
'Close #1
End Sub
Private Sub cmdsf_Click()
hy.name = txtmz.Text
hy.no = Val(txthh.Text)
hy.year = Val(txtcn.Text)
hy.month = Val(txtcy.Text)
hy.jiguan = txtjg.Text
hy.man = optna.Value
hy.woman = optnv.Value
hy.email = txtdz.Text
hy.leibie = cmblb.Text
hy.zuiy = txtyd.Text
hy.zuip = txtpp.Text
hy.pingj = Val(txtzs.Text)
'hy.pctx = pctxp.Picture
Open "a:\hy.dat" For Random As #1 Len = Len(hy) '定义了同一东西为不同符号
b = Val(txthh.Text) ' LOF(1) / Len(hy) + 1
Put #1, b, hy
Close #1
Formzc.Hide
formwel.Show
End Sub
Private Sub cmdsx_Click()
CommonDialog1.Action = 1
Open CommonDialog1.FileName For Input As #1
Do While Not EOF(1)
Line Input #1, inputdata
pctxp.Picture = LoadPicture(CommonDialog1.FileName)
Loop
Close #1
End Sub
Private Sub cmdx_Click()
txthh.Enabled = False
End Sub
Private Sub cmdxg_Click()
hy.name = txtmz.Text
' hy.no = Val(txthh.Text)
hy.year = Val(txtcn.Text)
hy.month = Val(txtcy.Text)
hy.jiguan = txtjg.Text
hy.man = optna.Value
hy.woman = optnv.Value
hy.email = txtdz.Text
hy.leibie = cmblb.Text
hy.zuiy = txtyd.Text
hy.zuip = txtpp.Text
hy.pingj = Val(txtzs.Text)
'hy.pctx = pctxp.Picture
txthh.Enabled = True
Open "a:\hy.dat" For Random As #1 Len = Len(hy)
Put #1, Val(txthh.Text), hy
Close #1
End Sub
Private Sub HSlzs_Change()
txtzs.Text = HSlzs.Value
End Sub
Private Sub txtqq_keypress(KeyAscii As Integer)
MsgBox "不能在此直接输入", , "错误" '''''''''''''''
End Sub
Private Sub txtzs_KeyPress(KeyAscii As Integer)
Dim m As Integer
m = MsgBox("不能在此直接输入,请用滚动条", vbOKOnly, "错误")
If m = 1 Then txtzs.Text = "" Else cmdfq_Click ''''''''''''''
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -