topwin.frm
上传用户:laihaixin
上传日期:2013-01-26
资源大小:1169k
文件大小:4k
源码类别:

医药行业

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
  3. Begin VB.Form Frmstart 
  4.    BorderStyle     =   0  'None
  5.    Caption         =   "Form1"
  6.    ClientHeight    =   3825
  7.    ClientLeft      =   0
  8.    ClientTop       =   0
  9.    ClientWidth     =   5520
  10.    Icon            =   "topwin.frx":0000
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    Picture         =   "topwin.frx":030A
  15.    ScaleHeight     =   3825
  16.    ScaleWidth      =   5520
  17.    ShowInTaskbar   =   0   'False
  18.    StartUpPosition =   2  '屏幕中心
  19.    Begin MSAdodcLib.Adodc Adodc1 
  20.       Height          =   330
  21.       Left            =   600
  22.       Top             =   3120
  23.       Visible         =   0   'False
  24.       Width           =   1200
  25.       _ExtentX        =   2117
  26.       _ExtentY        =   582
  27.       ConnectMode     =   0
  28.       CursorLocation  =   3
  29.       IsolationLevel  =   -1
  30.       ConnectionTimeout=   15
  31.       CommandTimeout  =   30
  32.       CursorType      =   3
  33.       LockType        =   3
  34.       CommandType     =   8
  35.       CursorOptions   =   0
  36.       CacheSize       =   50
  37.       MaxRecords      =   0
  38.       BOFAction       =   0
  39.       EOFAction       =   0
  40.       ConnectStringType=   1
  41.       Appearance      =   1
  42.       BackColor       =   -2147483643
  43.       ForeColor       =   -2147483640
  44.       Orientation     =   0
  45.       Enabled         =   -1
  46.       Connect         =   ""
  47.       OLEDBString     =   ""
  48.       OLEDBFile       =   ""
  49.       DataSourceName  =   ""
  50.       OtherAttributes =   ""
  51.       UserName        =   ""
  52.       Password        =   ""
  53.       RecordSource    =   ""
  54.       Caption         =   "Adodc1"
  55.       BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  56.          Name            =   "宋体"
  57.          Size            =   9
  58.          Charset         =   134
  59.          Weight          =   400
  60.          Underline       =   0   'False
  61.          Italic          =   0   'False
  62.          Strikethrough   =   0   'False
  63.       EndProperty
  64.       _Version        =   393216
  65.    End
  66.    Begin VB.Label Label1 
  67.       AutoSize        =   -1  'True
  68.       BackStyle       =   0  'Transparent
  69.       Caption         =   "单机版"
  70.       BeginProperty Font 
  71.          Name            =   "楷体_GB2312"
  72.          Size            =   15.75
  73.          Charset         =   134
  74.          Weight          =   700
  75.          Underline       =   0   'False
  76.          Italic          =   0   'False
  77.          Strikethrough   =   0   'False
  78.       EndProperty
  79.       ForeColor       =   &H000000FF&
  80.       Height          =   315
  81.       Left            =   2280
  82.       TabIndex        =   0
  83.       Top             =   2325
  84.       Width           =   1050
  85.    End
  86.    Begin VB.Image Image1 
  87.       Height          =   3825
  88.       Left            =   0
  89.       Picture         =   "topwin.frx":13C5C
  90.       Top             =   0
  91.       Width           =   5520
  92.    End
  93. End
  94. Attribute VB_Name = "Frmstart"
  95. Attribute VB_GlobalNameSpace = False
  96. Attribute VB_Creatable = False
  97. Attribute VB_PredeclaredId = True
  98. Attribute VB_Exposed = False
  99. Public servername As String
  100. Public serverpath As String
  101. Public pconn As String
  102. Private Sub Form_Load()
  103. With Adodc1
  104. .ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "systemset.mdb;Persist Security Info=False"
  105. .RecordSource = "select * from setinfo order by ID"
  106. .Refresh
  107. servername = "\" + .Recordset.Fields("服务器名称") + ""
  108. serverpath = .Recordset.Fields("数据库位置")
  109. End With
  110. pconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & servername & serverpath & "his.mdb;Persist Security Info=False"
  111. End Sub
  112. Private Sub Image1_Click()
  113. Unload Frmstart
  114. frmlogin.Show
  115. End Sub
  116. Private Sub Label1_Click()
  117. Unload Frmstart
  118. frmlogin.Show
  119. End Sub