商品进销存商品进销存商品进销存商品进销存商品进销存商品进销存
源代码在线查看: frmmodifyuserinfo.frm
VERSION 5.00
Begin VB.Form frmModifyuserinfo
Caption = "修改密码"
ClientHeight = 1932
ClientLeft = 48
ClientTop = 348
ClientWidth = 3684
LinkTopic = "Form1"
ScaleHeight = 1932
ScaleWidth = 3684
StartUpPosition = 2 'CenterScreen
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
IMEMode = 3 'DISABLE
Index = 1
Left = 1800
PasswordChar = "*"
TabIndex = 3
Top = 240
Width = 1812
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
IMEMode = 3 'DISABLE
Index = 2
Left = 1800
PasswordChar = "*"
TabIndex = 2
Top = 720
Width = 1812
End
Begin VB.CommandButton cmdOK
Caption = "确认"
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 720
TabIndex = 1
Top = 1320
Width = 972
End
Begin VB.CommandButton cmdCancel
Caption = "取消"
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 1920
TabIndex = 0
Top = 1320
Width = 972
End
Begin VB.Label Label2
Caption = "请输入新密码"
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 240
TabIndex = 5
Top = 240
Width = 1452
End
Begin VB.Label Label3
Caption = "请确认新密码"
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 240
TabIndex = 4
Top = 720
Width = 1452
End
End
Attribute VB_Name = "frmModifyuserinfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
Dim txtSQL, MsgText As String
Dim mrc As ADODB.Recordset
If Trim(Text1(1).Text) Trim(Text1(2).Text) Then
MsgBox "密码输入不正确!", vbOKOnly + vbExclamation, "警告"
Text1(1).SetFocus
Text1(1).Text = ""
Else
txtSQL = "select * from user_Info where user_ID = '" & UserName & "'"
Set mrc = ExecuteSQL(txtSQL, MsgText)
mrc.Fields(1) = Text1(1).Text
mrc.Update
mrc.Close
MsgBox "密码修改成功!", vbOKOnly + vbExclamation, "修改密码"
Me.Hide
End If
End Sub
|
相关资源 |
|
-
前 言
产品进销存管理统是一个企业不可缺少的部分,它的内容对于企业的决策者和管理者来说都至关重要,所以仓库产品进销存管理系统应该能够为用户提供充足的信息和快捷的查询手段。产品进销存又可以称为库存
-
功能:双字节十六进制小数转换成双字节BCD码小数
入口条件:待转换的双字节十六进制小数在R2、R3中。
出口信息:转换后的双字节BCD码小数仍在R2、R3中。
影响资源:PSW、A、B、R2
-
提出了一个由AT89C52单片机控制步进电机的实例。可以通过键盘输入相关数据, 并
根据需要, 实时对步进电机工作方式进行设置, 具有实时性和交互性的特点。该系统可应用于
步进电机控制的大多数场合
-
提出了一个由AT89C52单片机控制步进电机的实例。可以通过键盘输入相关数据, 并
根据需要, 实时对步进电机工作方式进行设置, 具有实时性和交互性的特点。该系统可应用于
步进电机控制的大多数场合
-
首先对步进电机作了概要性介绍,然后对步进电机的控制原理包括步进电机的控制方式和驱动方式作了系统的说明,最后采用8051单片机来控制步进电机,并给出了步进电机的双相三拍控制和三相六拍的单片机控制的具体实
-
单字节十六进制整数转换成单字节BCD码整数
入口条件:待转换的单字节十六进制整数在累加器A中。
出口信息:转换后的BCD码整数(十位和个位)仍在累加器A中
-
数据库要求:SQL Server 2000
系统要求:Windows操作系统;
安装程序以前
-
基于DSP的三相混合式步进电机驱动器.rar
|