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

📄 12.10.frm

📁 vb编程+从基础到实践光盘代码
💻 FRM
字号:
VERSION 5.00
Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
Begin VB.Form Form1 
   Caption         =   "播放AVI文件"
   ClientHeight    =   3015
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4575
   LinkTopic       =   "Form1"
   ScaleHeight     =   3015
   ScaleWidth      =   4575
   StartUpPosition =   3  'Windows Default
   Begin MCI.MMControl MciPlayAvi 
      Height          =   495
      Left            =   240
      TabIndex        =   3
      Top             =   2400
      Width           =   4095
      _ExtentX        =   7223
      _ExtentY        =   873
      _Version        =   393216
      DeviceType      =   ""
      FileName        =   ""
   End
   Begin VB.CommandButton CmdExit 
      Caption         =   "退  出"
      Height          =   495
      Left            =   2880
      TabIndex        =   2
      Top             =   1680
      Width           =   1215
   End
   Begin VB.CommandButton CmdPlay 
      Caption         =   "播  放"
      Height          =   495
      Left            =   360
      TabIndex        =   1
      Top             =   1680
      Width           =   1215
   End
   Begin VB.PictureBox Pic1 
      Height          =   975
      Left            =   240
      ScaleHeight     =   915
      ScaleWidth      =   4035
      TabIndex        =   0
      Top             =   360
      Width           =   4095
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdExit_Click()
    End
End Sub

Private Sub CmdPlay_Click()
    With MciPlayAvi
        .FileName = App.Path + "\filemove.avi"
        .Command = "open"
        .Command = "play"
    End With
End Sub

Private Sub Form_Load()
    MciPlayAvi.Visible = False
    MciPlayAvi.hWndDisplay = Pic1.hWnd
End Sub

Private Sub MciPlayAvi_Done(NotifyCode As Integer)
    MciPlayAvi.Command = "close"
End Sub

⌨️ 快捷键说明

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