Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting binary data from vfp
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Getting binary data from vfp
Miscellaneous
Thread ID:
00652646
Message ID:
00652646
Views:
63
I have a table with a memo field that actually contains the contents of a file
like :


tmp = filetostr("some file")
select myTable
replace FileMemo with tmp


How do I get that into a byte array in c#, either using a OleDbDataReader or from a VFP7 dll. The data reader does not seem to let me GetBytes, and I am not sure how to pass the data from a dll. I tried return CREATEBINARY(FileMemo), but it still cuts off at the first null.

tia
Bill Mittenzwey
Next
Reply
Map
View

Click here to load this message in the networking platform