网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 免费论文 -> 计算机论文 -> 班级管理系统VB(八)
计算机论文资料| ASP设计| Delphi| VB设计| JSP设计| ASP.NET设计| VB.NET| java设计| VC| pb| VS| dreamweaver| c#.net| vf| VC++| 计算机论文范文| 论文下载| 自动化论文

班级管理系统VB(八)

最新活动:微信集50个赞就可获取任意一篇钻石会员文档。详情见微信集赞换文档
班级管理系统VB(八) sp;      Close
                  End If
            End If
           
            If Text1.Text <> "" Then
                 b = Text4.Text
                 b = b + 1
                 a = Text1.Text
                 Open "d:\bjglxt\班级事件\cc.txt" For Random As #2
                 Open "d:\bjglxt\班级事件\dd.txt" For Random As #1
                 Put #1, b, a
                 Put #2, , b
                Text4.Text = b
                Close
            End If
     ElseIf y = 1 Then
        MsgBox ("请你先清空在写入内容后点添加")
     End If
Else
    MsgBox "你不是管理员,请先登陆管理员", , "提示"
End If
End Sub

Private Sub Command2_Click()
y = 1
Dim c As Integer
Dim a As String
If o = 1 Then
  If CInt(Text3.Text) > CInt(Text4.Text) Or CInt(Text3.Text) = 0 Then
   MsgBox ("没有此记录")
   ElseIf CInt(Text3.Text) > 0 And CInt(Text3.Text) <= CInt(Text4.Text) Then
   c = CInt(Text3.Text)
   Open "d:\bjglxt\班级事件\dd.txt" For Random As #1
   Get #1, c, a
   If a = "" Then
    MsgBox ("您当时添加的是一条空记录")
    Text1.Text = a
   ElseIf a <> "" Then
   Text1.Text = a
  End If
  Close
 End If
ElseIf o = 0 Then
MsgBox ("请输入正确的记录号(只限数字且不要超出记录条数)")
End If
Timer1.Enabled = True
End Sub

Private Sub Command3_Click()
Text1.Text = ""
Text3.Text = ""
y = 0
End Sub

Private Sub Command4_Click()
End Sub

Private Sub Form_Load()

y = 0
o = 0
Dim c As Integer
Open "d:\bjglxt\班级事件\cc.txt" For Random As #2
Get #2, , c
Text4.Text = c
Close
End Sub
Private Sub Timer1_Timer()
If Text3.Text <> "" Then
o = 1
 If Text3.Text >= "a" And Text3.Text <= "z" Then
 'Timer1.Enabled = False
 MsgBox ("请输入正确的记录号(只限数字)")
 Text3.Text = ""
 End If
ElseIf Text3.Text = "" Then
  o = 0
End If
End Sub

 

7:管理员界面设计

代码分析:

Private Sub CMD_OK_Click()
On Error GoTo ero
Data1.Refresh
ero:
End Sub

Private Sub CMD_RESET_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.

首页 上一页 5 6 7 8 9 下一页 尾页 8/9/9

班级管理系统VB(八)由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:高校题库管理系统+VB 下一篇:超市管理系统+文档
推荐论文 本专业最新论文
Tags:班级 管理系统 2010-04-23 20:40:16【返回顶部】
精彩推荐
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 17304545@qq.com

Copyright@ 2009-2020 毕业论文网 版权所有