QiDong_ShD.frm
资源名称:20080403.rar [点击查看]
上传用户:linhua1013
上传日期:2014-12-05
资源大小:375k
文件大小:2k
源码类别:
SQL Server
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form QiDong_ShD
- Caption = "手动选择服务器"
- ClientHeight = 2220
- ClientLeft = 60
- ClientTop = 450
- ClientWidth = 4485
- LinkTopic = "Form1"
- ScaleHeight = 2220
- ScaleWidth = 4485
- StartUpPosition = 1 '所有者中心
- Begin VB.CommandButton QX
- Caption = "取 消"
- Height = 375
- Left = 2640
- TabIndex = 3
- Top = 1440
- Width = 1095
- End
- Begin VB.CommandButton QD
- Caption = "确 定"
- Height = 375
- Left = 600
- TabIndex = 2
- Top = 1440
- Width = 1095
- End
- Begin VB.ComboBox SQLFWQ
- Height = 300
- Left = 1920
- TabIndex = 1
- Top = 880
- Width = 1815
- End
- Begin VB.Label Label2
- AutoSize = -1 'True
- Caption = "公 司 人 事 管 理 系 统"
- BeginProperty Font
- Name = "华文彩云"
- Size = 21.75
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00C0C000&
- Height = 450
- Left = 120
- TabIndex = 4
- Top = 240
- Width = 4215
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- Caption = "选择服务器:"
- Height = 180
- Left = 600
- TabIndex = 0
- Top = 960
- Width = 1080
- End
- End
- Attribute VB_Name = "QiDong_ShD"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim SQLS As String
- Private Sub QD_Click()
- SQLS = SQLFWQ.Text
- If MySQL.State = adStateClosed Then
- lujing = "provider=sqloledb.1;integrated security=sspi;persist security info=false;" & "initial catalog=CPMS;data source=" & SQLS
- MySQL.Open lujing
- Load YHdenglu
- YHdenglu.Show
- Unload QiDong_ShD
- End If
- End Sub
- Private Sub QX_Click()
- End
- End Sub