www.pudn.com > YuYinShiBie_VB.zip > voicedll.frm


VERSION 5.00 
Begin VB.Form Form1  
   ClientHeight    =   2160 
   ClientLeft      =   60 
   ClientTop       =   345 
   ClientWidth     =   1560 
   LinkTopic       =   "Form1" 
   ScaleHeight     =   2160 
   ScaleWidth      =   1560 
   StartUpPosition =   3  'Windows-Standard 
   Begin VB.CommandButton Command3  
      Caption         =   "Recognition Settings" 
      Height          =   615 
      Left            =   120 
      TabIndex        =   2 
      Top             =   1440 
      Width           =   1335 
   End 
   Begin VB.CommandButton Command2  
      Caption         =   "Microphone Setting" 
      Height          =   615 
      Left            =   120 
      TabIndex        =   1 
      Top             =   720 
      Width           =   1335 
   End 
   Begin VB.CommandButton Command1  
      Caption         =   "Training" 
      Height          =   495 
      Left            =   120 
      TabIndex        =   0 
      Top             =   120 
      Width           =   1335 
   End 
End 
Attribute VB_Name = "Form1" 
Attribute VB_GlobalNameSpace = False 
Attribute VB_Creatable = False 
Attribute VB_PredeclaredId = True 
Attribute VB_Exposed = False 
Private Sub Command1_Click() 
traincmd (Me.hwnd) 
End Sub 
 
Private Sub Command2_Click() 
miccmd (Me.hwnd) 
End Sub 
 
Private Sub Command3_Click() 
recocmd (Me.hwnd) 
End Sub 
 
Private Sub Form_Load() 
'Install Message Handler and initialize Engine 
PrevWndProc = SetWindowLong(Me.hwnd, GWL_WNDPROC, AddressOf SubWndProc) 
Call InitSAPI(Me.hwnd) 
End Sub 
 
Private Sub Form_Unload(Cancel As Integer) 
CleanupSAPI 
SetWindowLong Me.hwnd, GWL_WNDPROC, PrevWndProc 
End Sub