⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 module_01.frm

📁 朋友fdsfdsafdsafsafsa推荐的vb连接sql
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomctl.ocx"
Begin VB.Form Module_01 
   Caption         =   "SB 傻逼(商品管理) v0.12"
   ClientHeight    =   8835
   ClientLeft      =   60
   ClientTop       =   705
   ClientWidth     =   13095
   Icon            =   "Module_01.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   589
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   873
   StartUpPosition =   2  '屏幕中心
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   39
      Top             =   8460
      Width           =   13095
      _ExtentX        =   23098
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   7
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   2646
            MinWidth        =   2646
            Text            =   "记录总数:"
            TextSave        =   "记录总数:"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   3969
            MinWidth        =   3969
            Text            =   "返回时间:"
            TextSave        =   "返回时间:"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   6
            TextSave        =   "2006-7-28"
         EndProperty
         BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   5
            TextSave        =   "15:33"
         EndProperty
         BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   3969
            MinWidth        =   3969
            Text            =   "数据库:"
            TextSave        =   "数据库:"
         EndProperty
         BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   2646
            MinWidth        =   2646
            Text            =   "用户:"
            TextSave        =   "用户:"
         EndProperty
         BeginProperty Panel7 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            AutoSize        =   1
            Object.Width           =   4128
            MinWidth        =   3969
            Text            =   "(C) 2006 天枫十一郎"
            TextSave        =   "(C) 2006 天枫十一郎"
         EndProperty
      EndProperty
   End
   Begin VB.Frame Frame3 
      Caption         =   "商品资料"
      Height          =   5175
      Left            =   120
      TabIndex        =   30
      Top             =   3240
      Width           =   12855
      Begin MSComctlLib.ListView ListView1 
         Height          =   4815
         Left            =   120
         TabIndex        =   31
         Top             =   240
         Width           =   12615
         _ExtentX        =   22251
         _ExtentY        =   8493
         View            =   3
         LabelEdit       =   1
         LabelWrap       =   -1  'True
         HideSelection   =   -1  'True
         FullRowSelect   =   -1  'True
         GridLines       =   -1  'True
         _Version        =   393217
         ForeColor       =   -2147483640
         BackColor       =   -2147483643
         BorderStyle     =   1
         Appearance      =   1
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         NumItems        =   0
      End
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   0
      Top             =   0
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   16
      ImageHeight     =   16
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   2
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Module_01.frx":030A
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Module_01.frx":08A4
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Frame Frame2 
      Caption         =   "商品分类"
      Height          =   3015
      Left            =   120
      TabIndex        =   28
      Top             =   120
      Width           =   3615
      Begin MSComctlLib.TreeView TreeView1 
         Height          =   2655
         Left            =   120
         TabIndex        =   29
         Top             =   240
         Width           =   3375
         _ExtentX        =   5953
         _ExtentY        =   4683
         _Version        =   393217
         Indentation     =   0
         LabelEdit       =   1
         Style           =   7
         ImageList       =   "ImageList1"
         Appearance      =   1
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "商品基本资料"
      Height          =   3015
      Left            =   3840
      TabIndex        =   0
      Top             =   120
      Width           =   9135
      Begin VB.TextBox TextS 
         Alignment       =   1  'Right Justify
         Height          =   270
         Index           =   11
         Left            =   7320
         MaxLength       =   10
         TabIndex        =   40
         Text            =   "0.00"
         Top             =   1920
         Width           =   1575
      End
      Begin VB.TextBox TextS 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00E0E0E0&
         ForeColor       =   &H80000006&
         Height          =   270
         Index           =   1
         Left            =   7320
         Locked          =   -1  'True
         MaxLength       =   10
         TabIndex        =   7
         Text            =   "0.00"
         Top             =   840
         Width           =   1575
      End
      Begin VB.TextBox Text7 
         Height          =   270
         Left            =   4440
         MaxLength       =   13
         TabIndex        =   17
         Top             =   1920
         Width           =   1575
      End
      Begin VB.TextBox text6 
         Height          =   270
         Left            =   1200
         MaxLength       =   50
         TabIndex        =   16
         Top             =   1920
         Width           =   2415
      End
      Begin VB.TextBox TextS 
         Alignment       =   1  'Right Justify
         Height          =   270
         Index           =   10
         Left            =   7320
         MaxLength       =   10
         TabIndex        =   10
         Text            =   "0.00"
         Top             =   1560
         Width           =   1575
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   9
         Left            =   1200
         MaxLength       =   20
         TabIndex        =   8
         Top             =   1200
         Width           =   1575
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   8
         Left            =   3840
         MaxLength       =   50
         TabIndex        =   9
         Top             =   1200
         Width           =   2535
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   7
         Left            =   3840
         MaxLength       =   50
         TabIndex        =   6
         Top             =   840
         Width           =   2535
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   6
         Left            =   1200
         MaxLength       =   20
         TabIndex        =   5
         Top             =   840
         Width           =   1575
      End
      Begin VB.TextBox TextS 
         Alignment       =   1  'Right Justify
         Height          =   270
         Index           =   5
         Left            =   5520
         MaxLength       =   5
         TabIndex        =   13
         Text            =   "17"
         Top             =   1560
         Width           =   495
      End
      Begin VB.TextBox TextS 
         Alignment       =   1  'Right Justify
         Height          =   270
         Index           =   4
         Left            =   3840
         MaxLength       =   5
         TabIndex        =   12
         Text            =   "17"
         Top             =   1560
         Width           =   495
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   3
         Left            =   7800
         MaxLength       =   10
         TabIndex        =   4
         Top             =   480
         Width           =   1095
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   2
         Left            =   6000
         MaxLength       =   10
         TabIndex        =   3
         Top             =   480
         Width           =   1095
      End
      Begin VB.CheckBox Check2 
         Caption         =   "停进"
         Height          =   255
         Left            =   8280
         TabIndex        =   15
         Top             =   1200
         Width           =   735
      End
      Begin VB.CheckBox Check1 
         Caption         =   "停售"
         Height          =   255
         Left            =   7320
         TabIndex        =   14
         Top             =   1200
         Width           =   735
      End
      Begin VB.ComboBox Combo1 
         BackColor       =   &H00FFFFFF&
         Height          =   300
         ItemData        =   "Module_01.frx":0E3E
         Left            =   1200
         List            =   "Module_01.frx":0E4B
         TabIndex        =   11
         Top             =   1560
         Width           =   1575
      End
      Begin VB.TextBox TextS 
         Height          =   270
         Index           =   0
         Left            =   3840
         MaxLength       =   50
         TabIndex        =   2
         Top             =   480
         Width           =   1575
      End
      Begin VB.TextBox Text1 
         BackColor       =   &H00E0E0E0&
         Height          =   270
         Left            =   1200
         Locked          =   -1  'True
         MaxLength       =   13
         TabIndex        =   1
         Top             =   480
         Width           =   1575
      End
      Begin VB.Label Label13 
         Caption         =   "含税参考进价:"
         Height          =   255
         Left            =   6120
         TabIndex        =   41
         Top             =   1920
         Width           =   1215
      End
      Begin VB.Label Label9 
         Caption         =   "%"
         Height          =   255
         Left            =   6120
         TabIndex        =   38
         Top             =   1560
         Width           =   255
      End
      Begin VB.Label Label6 
         Caption         =   "%"
         Height          =   255
         Left            =   4440
         TabIndex        =   37
         Top             =   1560
         Width           =   135
      End
      Begin VB.Label Label21 
         Caption         =   "条形码:"
         Height          =   255
         Left            =   3720
         TabIndex        =   36
         Top             =   1920
         Width           =   855
      End
      Begin VB.Label Label20 
         Caption         =   "批准文号:"
         Height          =   255
         Left            =   360
         TabIndex        =   35
         Top             =   1920
         Width           =   855
      End
      Begin VB.Label Label18 
         Caption         =   "销项税率:"
         Height          =   255
         Left            =   4680
         TabIndex        =   34
         Top             =   1560
         Width           =   855
      End
      Begin VB.Label Label17 
         Caption         =   "进项税率:"
         Height          =   255
         Left            =   3000
         TabIndex        =   33
         Top             =   1560
         Width           =   855
      End
      Begin VB.Label Label16 
         Caption         =   "参考进价:"
         Height          =   255
         Left            =   6480
         TabIndex        =   32
         Top             =   1560
         Width           =   855
      End
      Begin VB.Label Label12 
         Caption         =   "助记码:"
         Height          =   255
         Left            =   360
         TabIndex        =   27
         Top             =   1200
         Width           =   855
      End
      Begin VB.Label Label11 
         Caption         =   "部门:"
         Height          =   255
         Left            =   360
         TabIndex        =   26
         Top             =   1560
         Width           =   855
      End
      Begin VB.Label Label10 
         Caption         =   "零售价:"
         Height          =   255
         Left            =   6480
         TabIndex        =   25
         Top             =   840
         Width           =   855
      End
      Begin VB.Label Label8 
         Caption         =   "规格:"
         Height          =   255
         Left            =   7320
         TabIndex        =   24
         Top             =   480
         Width           =   855
      End
      Begin VB.Label Label7 
         Caption         =   "单位:"
         Height          =   255
         Left            =   5520
         TabIndex        =   23
         Top             =   480
         Width           =   855
      End
      Begin VB.Label Label5 
         Caption         =   "制造商:"
         Height          =   255
         Left            =   3000
         TabIndex        =   22
         Top             =   1200
         Width           =   855
      End
      Begin VB.Label Label4 
         Caption         =   "商品名称:"
         Height          =   255
         Left            =   3000
         TabIndex        =   21
         Top             =   480
         Width           =   855
      End
      Begin VB.Label Label3 
         Caption         =   "产地:"
         Height          =   255
         Left            =   3000
         TabIndex        =   20
         Top             =   840
         Width           =   855
      End
      Begin VB.Label Label2 
         Caption         =   "品牌:"
         Height          =   255
         Left            =   360
         TabIndex        =   19
         Top             =   840
         Width           =   855
      End
      Begin VB.Label Label1 
         Caption         =   "商品编码:"
         Height          =   255
         Left            =   360
         TabIndex        =   18
         Top             =   480
         Width           =   855
      End
   End
   Begin VB.Menu m_work 
      Caption         =   "操作"
      Begin VB.Menu m_set 
         Caption         =   "连接设置"
         Shortcut        =   ^E
      End
      Begin VB.Menu en 
         Caption         =   "-"
      End
      Begin VB.Menu m_exit 
         Caption         =   "退出(&X)"
      End
   End
   Begin VB.Menu m_save 
      Caption         =   "保存(&S)"
   End
   Begin VB.Menu m_add 
      Caption         =   "新增(&N)"
   End
   Begin VB.Menu m_del 
      Caption         =   "删除(&D)"
   End
End
Attribute VB_Name = "Module_01"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function CreateFile Lib "kernel32" Alias "CreateFileA" (ByVal lpFileName As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long) As Long
Private Const GENERIC_WRITE = &H40000000
Private Const GENERIC_READ = &H80000000
Private Const OPEN_EXISTING = 3
Private Const FILE_SHARE_READ = &H1
Private Const FILE_SHARE_WRITE = &H2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -