Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How VFP handles Binary data?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00531339
Message ID:
00531400
Views:
40
>>We're using U.r.U finger scanner for our HRM systems with Payroll module. At first, we use VB with Pentacom's OCX control for interfacing with the finger scanner. If using Access MDB to handle the binary data emits by the scanner, there is no problem. With VFP table however, it can not handle the data (Memo field). This time, we tried VFP form with the same OCX control expecting it to work with DBF (Memo Binary or ordinary Memo) as field type but the data have different value. The CREATEBINARY() function does not help either.
>>
>>Is VFP capable of handling Binary Data? How do you handle Binary Data in VFP?
>>
>>Any help extended would be highly appreciated.
>In addition to DF's offer:
>Have you assured the data in the VFP memo is valid data?

This is exactly my problem. Actually the OCX emits binary data. It is not a file.
cBinary = Thisform.OleOCX.GetFingerPrint()
Replace mydbffile.memofield With cBinary
Above code successfully save the contents of the cBinary variable to a memo field (memo binary) but I don't know if it is a valid data.
cBinaryCheck = Thisform.OleOCX.CheckFingerPrint(mydbffile.memofield)
it always returns .T. even if the saved fingerprint was of my Thumb finger whereas scanned one was my index finger.

>There maybe a GETCHUNK method available, check your control documentation.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform