form1.ebf

来自「EVB使用CreateProcess API 呼叫IE 撥放wma 範例」· EBF 代码 · 共 58 行

EBF
58
字号
VERSION 5.00
Begin VB.Form Form1 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   Caption         =   "Form1"
   ClientHeight    =   3510
   ClientLeft      =   60
   ClientTop       =   840
   ClientWidth     =   3480
   ForeColor       =   &H80000008&
   ScaleHeight     =   3510
   ScaleWidth      =   3480
   ShowOK          =   -1  'True
   Begin VBCE.CommandButton Command1 
      Height          =   495
      Left            =   1080
      TabIndex        =   0
      Top             =   1560
      Width           =   1335
      _cx             =   2355
      _cy             =   873
      BackColor       =   12632256
      Caption         =   "Command1"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Style           =   0
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Declare Function CreateProcess Lib "Coredll" Alias "CreateProcessW" _
  (ByVal pszImageName As String, _
  ByVal pszCmdLine As String, _
  ByVal psaProcess As Long, _
  ByVal psaThread As Long, _
  ByVal fInheritHandles As Long, _
  ByVal fdwCreate As Long, _
  ByVal pvEnvironment As Long, _
  ByVal pszCurDir As Long, _
  ByVal psiStartInfo As Long, _
  ByVal pProcInfo As String) As Long

Public Function CEOpenHtml(ByVal sHtmlFile As String) As Boolean
'===============================================================
'

⌨️ 快捷键说明

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