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

📄 form1.frm

📁 新大学英语精读1-6
💻 FRM
字号:
VERSION 5.00
Object = "{22D6F304-B0F6-11D0-94AB-0080C74C7E95}#1.0#0"; "MSDXM.OCX"
Begin VB.Form Form1 
   BackColor       =   &H00FFC0C0&
   Caption         =   "大学英语"
   ClientHeight    =   7500
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   10710
   LinkTopic       =   "Form1"
   ScaleHeight     =   7500
   ScaleWidth      =   10710
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command6 
      Caption         =   "1"
      Height          =   375
      Left            =   120
      TabIndex        =   15
      Top             =   6360
      Width           =   135
   End
   Begin VB.CommandButton Command3 
      Caption         =   "del"
      Height          =   375
      Left            =   4560
      TabIndex        =   14
      Top             =   7080
      Width           =   495
   End
   Begin VB.TextBox Text7 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      Height          =   390
      Left            =   8520
      TabIndex        =   13
      Text            =   "jd103.mp3"
      Top             =   6960
      Width           =   1095
   End
   Begin VB.CommandButton Command2 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      Caption         =   "Command2"
      Height          =   375
      Left            =   9840
      TabIndex        =   12
      Top             =   6960
      Width           =   615
   End
   Begin VB.TextBox Text3 
      Appearance      =   0  'Flat
      BackColor       =   &H00FFC0FF&
      BorderStyle     =   0  'None
      DataField       =   "en"
      DataSource      =   "Data1"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2655
      Left            =   600
      MultiLine       =   -1  'True
      TabIndex        =   2
      Text            =   "form1.frx":0000
      Top             =   3240
      Width           =   9735
   End
   Begin VB.TextBox Text6 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      DataField       =   "sound"
      DataSource      =   "Data1"
      Height          =   495
      Left            =   8640
      TabIndex        =   10
      Top             =   120
      Width           =   2055
   End
   Begin VB.TextBox Text5 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      Height          =   615
      Left            =   6000
      TabIndex        =   6
      Top             =   240
      Width           =   1095
   End
   Begin VB.TextBox Text2 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      DataField       =   "end"
      DataSource      =   "Data1"
      Height          =   615
      Left            =   3720
      TabIndex        =   5
      Top             =   240
      Width           =   1695
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      DataField       =   "start"
      DataSource      =   "Data1"
      Height          =   615
      Left            =   600
      TabIndex        =   4
      Top             =   240
      Width           =   1935
   End
   Begin VB.TextBox Text4 
      Appearance      =   0  'Flat
      BackColor       =   &H00FFC0FF&
      BorderStyle     =   0  'None
      DataField       =   "cn"
      DataSource      =   "Data1"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1335
      Left            =   480
      MultiLine       =   -1  'True
      TabIndex        =   3
      Text            =   "form1.frx":0003
      Top             =   1320
      Width           =   9615
   End
   Begin VB.ComboBox Combo1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      Height          =   300
      ItemData        =   "form1.frx":0006
      Left            =   6840
      List            =   "form1.frx":00BE
      TabIndex        =   11
      Text            =   "jd101.mp3"
      Top             =   6960
      Width           =   1575
   End
   Begin VB.Data Data1 
      Caption         =   "Data1"
      Connect         =   "Access 2000;"
      DatabaseName    =   "大学英语.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   375
      Left            =   5160
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "大学英语"
      Top             =   6960
      Width           =   1260
   End
   Begin VB.CommandButton Command1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000000&
      Caption         =   "next"
      Height          =   375
      Left            =   2880
      TabIndex        =   1
      Top             =   7080
      Width           =   735
   End
   Begin VB.Label Label3 
      Caption         =   "sound"
      Height          =   255
      Left            =   7680
      TabIndex        =   9
      Top             =   360
      Width           =   615
   End
   Begin VB.Label Label2 
      Caption         =   "end"
      Height          =   375
      Left            =   3120
      TabIndex        =   8
      Top             =   360
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "start"
      Height          =   375
      Left            =   120
      TabIndex        =   7
      Top             =   360
      Width           =   495
   End
   Begin MediaPlayerCtl.MediaPlayer MediaPlayer1 
      Height          =   615
      Left            =   120
      TabIndex        =   0
      Top             =   6840
      Width           =   5055
      AudioStream     =   -1
      AutoSize        =   0   'False
      AutoStart       =   -1  'True
      AnimationAtStart=   -1  'True
      AllowScan       =   -1  'True
      AllowChangeDisplaySize=   -1  'True
      AutoRewind      =   0   'False
      Balance         =   0
      BaseURL         =   ""
      BufferingTime   =   5
      CaptioningID    =   ""
      ClickToPlay     =   -1  'True
      CursorType      =   0
      CurrentPosition =   -1
      CurrentMarker   =   0
      DefaultFrame    =   ""
      DisplayBackColor=   0
      DisplayForeColor=   16777215
      DisplayMode     =   0
      DisplaySize     =   4
      Enabled         =   -1  'True
      EnableContextMenu=   -1  'True
      EnablePositionControls=   -1  'True
      EnableFullScreenControls=   0   'False
      EnableTracker   =   -1  'True
      Filename        =   ""
      InvokeURLs      =   -1  'True
      Language        =   -1
      Mute            =   0   'False
      PlayCount       =   1
      PreviewMode     =   0   'False
      Rate            =   .8
      SAMILang        =   ""
      SAMIStyle       =   ""
      SAMIFileName    =   ""
      SelectionStart  =   -1
      SelectionEnd    =   -1
      SendOpenStateChangeEvents=   -1  'True
      SendWarningEvents=   -1  'True
      SendErrorEvents =   -1  'True
      SendKeyboardEvents=   0   'False
      SendMouseClickEvents=   0   'False
      SendMouseMoveEvents=   0   'False
      SendPlayStateChangeEvents=   -1  'True
      ShowCaptioning  =   0   'False
      ShowControls    =   -1  'True
      ShowAudioControls=   -1  'True
      ShowDisplay     =   0   'False
      ShowGotoBar     =   0   'False
      ShowPositionControls=   -1  'True
      ShowStatusBar   =   0   'False
      ShowTracker     =   -1  'True
      TransparentAtStart=   0   'False
      VideoBorderWidth=   0
      VideoBorderColor=   0
      VideoBorder3D   =   0   'False
      Volume          =   -10
      WindowlessVideo =   0   'False
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Combo1_Click()
Text1 = 0
MediaPlayer1.FileName = Combo1.Text
Text6 = Combo1.Text
End Sub

Private Sub Command1_Click()
Text2 = MediaPlayer1.CurrentPosition / MediaPlayer1.Rate
Text5 = Text2
Data1.Recordset.MoveNext
Text1 = Text5
Text6 = Combo1.Text


End Sub

Private Sub Command3_Click()
Data1.Recordset.Delete
End Sub

Private Sub Command2_Click()
Data1.Recordset.FindLast "sound like" & Chr$(39) & "jd*" & Chr$(39)
Data1.Recordset.FindFirst "sound like" & Chr$(39) & Text6 & Chr$(39)
Text7 = Text6
Combo1.Text = Text6
MediaPlayer1.FileName = Text6
End Sub



Private Sub HScroll1_Change()
MediaPlayer1.Rate = 1 - HScroll1.Value / 100

End Sub

Private Sub Command6_Click()
MediaPlayer1.Rate = 1
End Sub

Private Sub Text7_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Data1.Recordset.FindFirst "sound like" & Chr$(39) & Text7 & Chr$(39)

End Sub

⌨️ 快捷键说明

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