Jess,
VFP can easily hold binary data in memos. Make sure the memo is set to binary so you don't have code page translation issues.
create cursor x1 ( m1 m nocptrans )
append blank
lcBinary = filetostr( "someimage.jpg" )
replace x1.m1 with lcBinary
lcX = x1.m1
strtofile( lcX, "copyofsomeimage.jpg" )
? lcX == lcBinary
So provided your OCX can output it's result to a memory buffer that you can allocate from VFP this should be easy to get running.
>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?