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

当前位置:首页 > 旅游信息管理系统毕业论文 - 图文

旅游信息管理系统毕业论文 - 图文

  • 62 次阅读
  • 3 次下载
  • 2025/5/5 8:05:58

河南师范大学新联学院本科毕业论文

CommonDialog1.InitDir = \

CommonDialog1.Filter = \文档(*.doc)|*.doc|文本文件_(*.txt)|*.txt|

所有文件(*.*)|*.*\

CommonDialog1.FilterIndex = 2 CommonDialog1.ShowOpen Text1.Text = \

Open CommonDialog1.FileName For Input As #1

If Err.Number = 0 Then Do While Not EOF(1) Line Input #1, StrTxt

Text1 = Text1 + StrTxt + vbCrLf Loop Close #1 End If End Sub

Private Sub print_Click() Dim i As Integer

CommonDialog3.ShowPrinter Printer.EndDoc End Sub

Private Sub save_Click() On Error Resume Next CommonDialog2.InitDir = \

CommonDialog2.Filter = \文档(*.doc)|*.doc|文本文件_(*.txt)|*.txt| 所有文件 (*.*)|*.*\

CommonDialog2.DefaultExt = \ CommonDialog2.ShowSave

Open CommonDialog2.FileName For Output As #2

21

河南师范大学新联学院本科毕业论文

For i = 1 To Len(Text1)

Print #2, Mid$(Text1, i, 1)

Next i Close #2 End Sub

Private Sub Timer1_Timer() Static i As Integer Timer1.Interval=2800 i = (i + 1) Mod 5

Image1.Picture = LoadPicture(App.Path & \End Sub

Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node) If Node.Text = \景点信息管理\ Form4.Show End If

If Node.Text = \游客信息\ Form1.Show End If

If Node.Text = \导游信息\ Form6.Show End If

If Node.Text = \用户登录信息\ Form7.Show End If

If Node.Text = \酒店信息管理\ Form2.Hide Form5.Show End If

22

河南师范大学新联学院本科毕业论文

End Sub

(2)主界面效果图

主界面设计效果如图4.2所示:

图4.2 主界面

4.3景点信息编码及实现

(1)景点信息界面编码如下:

Private SqlCon As New ADODB.Connection Private SqlRes As New ADODB.Recordset Private SqlCmd As New ADODB.Command Private Sub Command1_Click() '查找 Dim SqlStr As String

Adodc1.RecordSource = \ vw Where vsbh ='\ & \ SqlStr = \

If Trim(Text1) <> \

SqlStr = \ End If

If Trim(Text2) <> \

23

河南师范大学新联学院本科毕业论文

SqlStr = \ End If

SqlStr = \

SqlRes.open SqlStr, SqlCon, adOpenDynamic, adLockPessimistic If Not SqlRes.EOF Then Text1.Text = SqlRes(\ Text2.Text = SqlRes(\ Text3.Text = SqlRes(\ Text4.Text = SqlRes(\ Combo1.Text = SqlRes(\ Text5.Text = SqlRes(\ Else

MsgBox \没有此信息!\警告\ End If SqlRes.Close End Sub

Private Sub Command2_Click() '增加 Dim SqlStr As String

SqlStr = \ SqlRes.open SqlStr, SqlCon, adOpenDynamic, adLockPessimistic If Not SqlRes.EOF Then

SqlRes(\ SqlRes(\ SqlRes(\ SqlRes(\ SqlRes(\ SqlRes.Update Else

If Text1.Text = \

24

搜索更多关于: 旅游信息管理系统毕业论文 - 图文 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

河南师范大学新联学院本科毕业论文 CommonDialog1.InitDir = \ CommonDialog1.Filter = \文档(*.doc)|*.doc|文本文件_(*.txt)|*.txt| 所有文件(*.*)|*.*\ CommonDialog1.FilterIndex = 2 CommonDialog1.ShowOpen Text1.Text = \ Open CommonDialog1.FileName For Input As #1 If Err.Number = 0 Then Do While Not EOF(1) Line Input #1, StrTxt Text1 = Text1 + StrTxt +

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价: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