Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,
I am using SecuGen Hamster Pro 20 finger print reader, i also downloaded SDK with simple VB.net code. but unfortunately in the code there is no any function to save Finger Print (Template / minutiae) into database table, and search (Template / Minutiae) from database table.
The registration of (Template / Minutiae) code is given below

Private Sub BtnRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnRegister.Click
Dim iError As Int32
Dim matched As Boolean
Dim match_score As Int32
Dim secu_level As SGFPMSecurityLevel


matched = False
match_score = 0

secu_level = comboBoxSecuLevel_R.SelectedIndex

iError = m_FPM.MatchTemplate(m_RegMin1, m_RegMin2, secu_level, matched)
iError = m_FPM.GetMatchingScore(m_RegMin1, m_RegMin2, match_score)

If (iError = SGFPMError.ERROR_NONE) Then
If (matched) Then

StatusBar.Text = "Registration Success, Matching Score: " + Convert.ToString(match_score)
Else
StatusBar.Text = "Registration Failed"
End If

Else
DisplayError("GetMatchingScore", iError)
End If

End Sub


Please guide me how to save (Template / Minutiae) into database table.

What I have tried:

Private Sub BtnRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnRegister.Click
        Dim iError As Int32
        Dim matched As Boolean
        Dim match_score As Int32
        Dim secu_level As SGFPMSecurityLevel


        matched = False
        match_score = 0

        secu_level = comboBoxSecuLevel_R.SelectedIndex

        iError = m_FPM.MatchTemplate(m_RegMin1, m_RegMin2, secu_level, matched)
        iError = m_FPM.GetMatchingScore(m_RegMin1, m_RegMin2, match_score)

        If (iError = SGFPMError.ERROR_NONE) Then
            If (matched) Then

                StatusBar.Text = "Registration Success, Matching Score: " + Convert.ToString(match_score)

'------------------------------Save Finger Print data into database required here


            Else
                StatusBar.Text = "Registration Failed"
            End If

        Else
            DisplayError("GetMatchingScore", iError)
        End If

    End Sub
Posted
Updated 4-Oct-20 11:28am
Comments
CHill60 7-Oct-20 6:39am    
You are not getting any solutions for a couple of reasons
1. You have tagged your question as C#3.5 which is not relevant
2. You are asking us to write your code for you - that is not how this forum works. Do some research, make an attempt. If it goes wrong then we can usually help. But we will not just write the code for you if you make no effort yourself

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900