Click here to Skip to main content
15,896,348 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionLINQ Pin
tsunamigang23-Dec-13 18:04
tsunamigang23-Dec-13 18:04 
AnswerRe: LINQ Pin
thatraja23-Dec-13 20:09
professionalthatraja23-Dec-13 20:09 
GeneralRe: LINQ Pin
tsunamigang23-Dec-13 22:08
tsunamigang23-Dec-13 22:08 
QuestionProgressbar value not accurate? Pin
Sonhospa21-Dec-13 0:50
Sonhospa21-Dec-13 0:50 
AnswerRe: Progressbar value not accurate? Pin
Dave Kreskowiak21-Dec-13 4:50
mveDave Kreskowiak21-Dec-13 4:50 
NewsRe: Progressbar value not accurate? Pin
Sonhospa21-Dec-13 9:04
Sonhospa21-Dec-13 9:04 
GeneralRe: Progressbar value not accurate? Pin
Dave Kreskowiak21-Dec-13 11:34
mveDave Kreskowiak21-Dec-13 11:34 
QuestionVerification Failure (DigitalPersona 4000B) Pin
Member 1048039921-Dec-13 0:35
Member 1048039921-Dec-13 0:35 
ive seen all the post related to my problem.. but i have different code .. i've searching for the answer for almost 2weeks now .. but no luck .. this is my code i dont know what's happening .. it keeps prompting Verification Failure .. i dont know whats the problem in my code .. the bolded line's where i guess the problem occurs .. can someone kindly help me to fix this Frown | :( im using vb.net 2010 as my front and MySql as my back-end.. im using DigitalPersona 4000B

VB
Sub OnComplete(ByVal Control As Object, ByVal FeatureSet As DPFP.FeatureSet, ByRef EventHandlerStatus As DPFP.Gui.EventHandlerStatus) Handles VerificationControl.OnComplete

        Dim con As New MySqlConnection("Server = localhost; Username= root; Password =; Database = fesdata")
        Dim cmd As New MySqlCommand("SELECT * FROM empdata", con)
        con.Open()
        Dim fpreader As MySqlDataReader = cmd.ExecuteReader


        Dim byteTemplate As Byte()
        Dim memStreamTemplate As MemoryStream

        Dim ver As New DPFP.Verification.Verification()
        Dim res As New DPFP.Verification.Verification.Result()

        If fpreader.HasRows Then
            While fpreader.Read

                byteTemplate = fpreader.Item("Fingerprint")
                memStreamTemplate = New MemoryStream(byteTemplate)
                Dim templa8 As DPFP.Template = New DPFP.Template()
                templa8.DeSerialize(memStreamTemplate)

                If Not FeatureSet Is Nothing Then

                    ver.Verify(FeatureSet, templa8, res)
                    If res.Verified Then
                        Call SEARCH_EMPLOYEE()
                    End If
                End If
            End While
        Else
            MsgBox("Unknown Employee!")
        End If
        fpreader.Close()


    End Sub

AnswerRe: Verification Failure (DigitalPersona 4000B) Pin
Dave Kreskowiak21-Dec-13 4:46
mveDave Kreskowiak21-Dec-13 4:46 
QuestionException Pin
tsunamigang19-Dec-13 20:10
tsunamigang19-Dec-13 20:10 
AnswerRe: Exception Pin
Richard MacCutchan19-Dec-13 21:57
mveRichard MacCutchan19-Dec-13 21:57 
QuestionAnyone else with VB 2010 forms suddenly slow? Pin
BradITM19-Dec-13 11:43
BradITM19-Dec-13 11:43 
AnswerRe: Anyone else with VB 2010 forms suddenly slow? Pin
Dave Kreskowiak19-Dec-13 12:46
mveDave Kreskowiak19-Dec-13 12:46 
AnswerRe: Anyone else with VB 2010 forms suddenly slow? Pin
Simon_Whale20-Dec-13 5:05
Simon_Whale20-Dec-13 5:05 
QuestionDelegate Pin
tsunamigang18-Dec-13 19:35
tsunamigang18-Dec-13 19:35 
AnswerRe: Delegate Pin
Richard MacCutchan18-Dec-13 21:59
mveRichard MacCutchan18-Dec-13 21:59 
QuestionVB Tutorial Pin
tgsb17-Dec-13 19:57
tgsb17-Dec-13 19:57 
AnswerRe: VB Tutorial Pin
Chris Quinn17-Dec-13 21:12
Chris Quinn17-Dec-13 21:12 
AnswerRe: VB Tutorial Pin
Simon_Whale17-Dec-13 22:00
Simon_Whale17-Dec-13 22:00 
AnswerRe: VB Tutorial Pin
thatraja17-Dec-13 23:44
professionalthatraja17-Dec-13 23:44 
Questionbarcode generator Pin
Member 1047210217-Dec-13 3:00
Member 1047210217-Dec-13 3:00 
AnswerRe: barcode generator Pin
David Mujica17-Dec-13 3:34
David Mujica17-Dec-13 3:34 
QuestionBest way to save data in Visual basic Pin
HimanshuSha17-Dec-13 1:45
HimanshuSha17-Dec-13 1:45 
AnswerRe: Best way to save data in Visual basic Pin
Tim Carmichael17-Dec-13 2:13
Tim Carmichael17-Dec-13 2:13 
GeneralRe: Best way to save data in Visual basic Pin
HimanshuSha17-Dec-13 2:30
HimanshuSha17-Dec-13 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.