大师大师,之前我发的那个实例按您说的用visual studio 打开以后 就是这些代码
我就一段一段改成狐表的语言就行是吧?
在项目中是不是要先更改些设置什么的???就比如说我现在的这个项目,用指纹代替教师签到那个窗口,我该怎么代入呢??
指纹识别这个东东 真不是想象中那么简单。。。~
Public Class Form1
Inherits System.Windows.Forms.Form
Dim FRegTemplate As Object
Dim FMatchType As Integer
Dim FID As Integer
Dim fpcHandle As Integer
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents AxZKFPEngX1 As AxZKFPEngXControl.AxZKFPEngX
Friend WithEvents btnInit As System.Windows.Forms.Button
Friend WithEvents btnEnroll As System.Windows.Forms.Button
Friend WithEvents btnVerify As System.Windows.Forms.Button
Friend WithEvents btnIdentify As System.Windows.Forms.Button
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents StatusBar1 As System.Windows.Forms.StatusBar
Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
Me.AxZKFPEngX1 = New AxZKFPEngXControl.AxZKFPEngX
Me.btnInit = New System.Windows.Forms.Button
Me.btnEnroll = New System.Windows.Forms.Button
Me.btnVerify = New System.Windows.Forms.Button
Me.btnIdentify = New System.Windows.Forms.Button
Me.Button1 = New System.Windows.Forms.Button
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.StatusBar1 = New System.Windows.Forms.StatusBar
Me.PictureBox1 = New System.Windows.Forms.PictureBox
CType(Me.AxZKFPEngX1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'AxZKFPEngX1
'
Me.AxZKFPEngX1.Enabled = True
Me.AxZKFPEngX1.Location = New System.Drawing.Point(504, 24)
Me.AxZKFPEngX1.Name = "AxZKFPEngX1"
Me.AxZKFPEngX1.OcxState = CType(resources.GetObject("AxZKFPEngX1.OcxState"), System.Windows.Forms.AxHost.State)
Me.AxZKFPEngX1.Size = New System.Drawing.Size(24, 24)
Me.AxZKFPEngX1.TabIndex = 0
'
'btnInit
'
Me.btnInit.Location = New System.Drawing.Point(376, 56)
Me.btnInit.Name = "btnInit"
Me.btnInit.Size = New System.Drawing.Size(80, 24)
Me.btnInit.TabIndex = 1
Me.btnInit.Text = "初始化"
'
'btnEnroll
'
Me.btnEnroll.Location = New System.Drawing.Point(376, 120)
Me.btnEnroll.Name = "btnEnroll"
Me.btnEnroll.Size = New System.Drawing.Size(80, 24)
Me.btnEnroll.TabIndex = 2
Me.btnEnroll.Text = "登记指纹"
'
'btnVerify
'
Me.btnVerify.Location = New System.Drawing.Point(376, 192)
Me.btnVerify.Name = "btnVerify"
Me.btnVerify.Size = New System.Drawing.Size(96, 24)
Me.btnVerify.TabIndex = 3
Me.btnVerify.Text = "比对指纹 1:1"
'
'btnIdentify
'
Me.btnIdentify.Location = New System.Drawing.Point(488, 192)
Me.btnIdentify.Name = "btnIdentify"
Me.btnIdentify.Size = New System.Drawing.Size(96, 24)
Me.btnIdentify.TabIndex = 4
Me.btnIdentify.Text = "比对指纹 1:N"
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(512, 56)
Me.Button1.Name = "Button1"
Me.Button1.TabIndex = 5
Me.Button1.Text = "释放设备"
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(488, 120)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.TabIndex = 6
Me.TextBox1.Text = "TextBox1"
'
'StatusBar1
'
Me.StatusBar1.Location = New System.Drawing.Point(0, 336)
Me.StatusBar1.Name = "StatusBar1"
Me.StatusBar1.Size = New System.Drawing.Size(648, 22)
Me.StatusBar1.TabIndex = 7