云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > vb课程设计说明书格式

vb课程设计说明书格式

  • 62 次阅读
  • 3 次下载
  • 2026/4/29 15:34:31

山东科技大学学生课程设计

Printer.Line (0, 250)-(1500, 250)

Printer.Print lb10.Caption + jobi.Caption + lb11.Caption + addri.Caption Printer.Line (0, 300)-(1500, 300)

Printer.Print lb12.Caption + edui.Caption + lb13.Caption + nati.Caption Printer.EndDoc ErrMsg:

If Err.Number <> 0 Then

MsgBox CStr(Err.Number) + Err.Description, vbOKOnly + vbCritical, \错误提示\

Exit Sub End If End Sub

Private Sub Form_Load() Dim i As Integer

On Error GoTo Err

db = \Security=SSPI;Persist Security Info=False;Initial Catalog=mstaff;DataSource=.\ conn.CursorLocation = adUseClient conn.Open db Exit Sub Err:

MsgBox Err.Number Unload Me End Sub

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) mainfrm.Enabled = True Set rst = Nothing conn.Close End Sub

Private Sub jsbt_Click() If csnoi.Text = \

MsgBox \请输入员工编号。\

45

山东科技大学学生课程设计

Exit Sub End If

If rst.State <> adStateClosed Then rst.Close

sSql = \rst.Open sSql, conn, adOpenStatic, adLockBatchOptimistic If rst.EOF Then

MsgBox \用户信息不存在,请查证员工编号。\ Exit Sub End If

While Not rst.EOF

snoi.Caption = rst.Fields(\

snamei.Caption = rst.Fields(\ genderi.Caption = rst.Fields(\ depti.Caption = rst.Fields(\ jobi.Caption = rst.Fields(\ birthi.Caption = rst.Fields(\ phonei.Caption = rst.Fields(\ addri.Caption = rst.Fields(\ edui.Caption = rst.Fields(\ nati.Caption = rst.Fields(\

majori.Caption = rst.Fields(\ emaili.Caption = rst.Fields(\ rst.MoveNext Wend End Sub

(10)调动信息打印

Option Explicit

Public conn As New ADODB.Connection Public rs As New ADODB.Recordset Public rst As New ADODB.Recordset Public db As String Private sSql As String Public fnt As Integer Public X As Integer Public Y As Integer

Private Sub dlist_Click()

46

搜索更多关于: vb课程设计说明书格式 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

山东科技大学学生课程设计 Printer.Line (0, 250)-(1500, 250) Printer.Print lb10.Caption + jobi.Caption + lb11.Caption + addri.Caption Printer.Line (0, 300)-(1500, 300) Printer.Print lb12.Caption + edui.Caption + lb13.Caption + nati.Caption Printer.EndDoc ErrMsg: If Err.Number 0 Then MsgBox CStr(Err.Number) + Err.Description, vbOKOnly + vbCritical, \错误提示\Exit Sub E

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com