how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ?
how to match a fingerprint template from database ? how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
Go Back  Xtreme Visual Basic Talk > > > how to match a fingerprint template from database ?


Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2014, 01:09 AM
yOyie_333 yOyie_333 is offline
Newcomer
 
Join Date: Jan 2014
Posts: 1
Default how to match a fingerprint template from database ?


i now can save a fingerprint template from database using this code..

Code:
Dim fingerprintData As MemoryStream = New MemoryStream
        Template.Serialize(fingerprintData)
        fingerprintData.Position = 0
        Dim br As BinaryReader = New BinaryReader(fingerprintData)
        Dim bytes() As Byte = br.ReadBytes(CType(fingerprintData.Length, Int32))
        Dim cmd As SqlCommand = New SqlCommand("INSERT INTO fininger_table VALUES(@FIRSTNAME, @LASTNAME, @FINGERPRINT)", conn)
        cmd.Parameters.Add("FIRSTNAME", SqlDbType.VarChar).Value = CaptureForm.tboxFname.Text
        cmd.Parameters.Add("LASTNAME", SqlDbType.VarChar).Value = CaptureForm.tboxLname.Text
        cmd.Parameters.Add("FINGERPRINT", SqlDbType.Image).Value = bytes
        conn.Open()
        cmd.ExecuteNonQuery()
        conn.Close()
and i fetch the data when the form is load..

Code:
 conn.Open()
        Dim cmd As New SqlCommand("SELECT * FROM Fininger_table", conn)
        Dim rdr As SqlDataReader = cmd.ExecuteReader()
        Dim MemStream As IO.MemoryStream
        Dim fpBytes As Byte()
        While rdr.Read()
            fpBytes = rdr("FINGERPRINT")
            MemStream = New IO.MemoryStream(fpBytes)
            Dim template As New DPFP.Template(MemStream)
            OnTemplate(template)
            ' template.DeSerialize(MemStream)
        End While
        rdr.Close()
        conn.Close()
and now i'm stuck..i dont know how to match the fingerprint from the database to verify the user..

plz help me out..tnx in advance

btw im using a DIGITAL PERSONA FINGERPRINT READER..with the OTW SDK
Reply With Quote
Reply

Tags
digital persona, fingerprints, vn.net


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ? how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ? how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
 
how to match a fingerprint template from database ?
how to match a fingerprint template from database ?
 
-->