topwin.frm
资源名称:yf.rar [点击查看]
上传用户:laihaixin
上传日期:2013-01-26
资源大小:1169k
文件大小:4k
源码类别:
医药行业
开发平台:
Visual Basic
- VERSION 5.00
- Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
- Begin VB.Form Frmstart
- BorderStyle = 0 'None
- Caption = "Form1"
- ClientHeight = 3825
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 5520
- Icon = "topwin.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- Picture = "topwin.frx":030A
- ScaleHeight = 3825
- ScaleWidth = 5520
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 '屏幕中心
- Begin MSAdodcLib.Adodc Adodc1
- Height = 330
- Left = 600
- Top = 3120
- Visible = 0 'False
- Width = 1200
- _ExtentX = 2117
- _ExtentY = 582
- ConnectMode = 0
- CursorLocation = 3
- IsolationLevel = -1
- ConnectionTimeout= 15
- CommandTimeout = 30
- CursorType = 3
- LockType = 3
- CommandType = 8
- CursorOptions = 0
- CacheSize = 50
- MaxRecords = 0
- BOFAction = 0
- EOFAction = 0
- ConnectStringType= 1
- Appearance = 1
- BackColor = -2147483643
- ForeColor = -2147483640
- Orientation = 0
- Enabled = -1
- Connect = ""
- OLEDBString = ""
- OLEDBFile = ""
- DataSourceName = ""
- OtherAttributes = ""
- UserName = ""
- Password = ""
- RecordSource = ""
- Caption = "Adodc1"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- _Version = 393216
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "单机版"
- BeginProperty Font
- Name = "楷体_GB2312"
- Size = 15.75
- Charset = 134
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H000000FF&
- Height = 315
- Left = 2280
- TabIndex = 0
- Top = 2325
- Width = 1050
- End
- Begin VB.Image Image1
- Height = 3825
- Left = 0
- Picture = "topwin.frx":13C5C
- Top = 0
- Width = 5520
- End
- End
- Attribute VB_Name = "Frmstart"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Public servername As String
- Public serverpath As String
- Public pconn As String
- Private Sub Form_Load()
- With Adodc1
- .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "systemset.mdb;Persist Security Info=False"
- .RecordSource = "select * from setinfo order by ID"
- .Refresh
- servername = "\" + .Recordset.Fields("服务器名称") + ""
- serverpath = .Recordset.Fields("数据库位置")
- End With
- pconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & servername & serverpath & "his.mdb;Persist Security Info=False"
- End Sub
- Private Sub Image1_Click()
- Unload Frmstart
- frmlogin.Show
- End Sub
- Private Sub Label1_Click()
- Unload Frmstart
- frmlogin.Show
- End Sub