Luc,
  You are already using the RMScript.DLL that can execute the code you 
show....  Look at the code you are using already and you will see how to 
make it work.



----- Original Message ----- 
From: "Luc Delcoigne" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Sunday, June 05, 2011 11:57 AM
Subject: [RBASE-L] - re: integrating cardreaders


Tom,

Sorry that I was not more specific.
In fact I have to read data from a electronic chip-card, not reading a 
magnetic strip.

I have found some software from www.roadbyte.be that could do the trick.
I have some examples in visual basic and VBA.

e.g. in Access

Private Sub btnReadCard_Click()

    'Get RoadByte eID Framework
    Dim framework As IRbApplication
    Set framework = CreateObject("RoadByte.Application")
    framework.Open

    'Get card reader
    Dim cardreader As IRbCardReader
    Set cardreader = framework.ActiveCardReader

    'Check if card present
    If (cardreader Is Nothing) Then
        MsgBox "No card reader found"
    ElseIf (cardreader.Status <> csPresent) Then
        MsgBox "No card in reader"
    Else
        Dim cardholder As IRbPerson
        Set cardholder = cardreader.card.Holder

        'Update fields
        Me.FirstName.Value = cardholder.FirstName
        Me.LastName.Value = cardholder.LastName
        Me.Address.Value = cardholder.Address.StreetAndNumber
        Me.PostalCode.Value = cardholder.Address.PostCode
        Me.City.Value = cardholder.Address.City
    End If

    'Always close framework when done
    framework.Close

End Sub

Now I have to implement this in R:base.

I suspect that could be possible using DLCALL syntax.
But I am not familiar with this.

grtz

Luc D.




From: TOM HART
Sent: Sunday, June 05, 2011 4:44 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - re: integrating cardreaders


You should be able to scan it into a DB edit field.  I use barcodes and a 
scanner to do it that way.
Tom Hart






--------------------------------------------------------------------------------
From: Luc Delcoigne <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Sun, June 5, 2011 5:29:06 AM
Subject: [RBASE-L] - re: integrating cardreaders


hello,

I Want to automatically read data from an ID cardreader into the rbase form.

Is there anybody out there that hase some experience with this ?

grtz

Luc D. 

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: 
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, 
place any 
text to search for.
================================================


Reply via email to