Re: P.P.S. Extract files from general fld

From: Dan Freeman (spam_at_microsoft.com)
Date: 03/31/04


Date: Tue, 30 Mar 2004 16:16:28 -0800

Actually, it does work.

But you could also use APPEND MEMO/COPY MEMO. <g>

Dan

Liska Station wrote:
> Also, forget I mentioned the filetostr/strtofile.... doesn't work
> with non- text-based files.
>
>
> "Dan Freeman" <spam@microsoft.com> wrote in news:eRsaN0oFEHA.2944
> @TK2MSFTNGP12.phx.gbl:
>
>> You don't. Well, not easily. That's one reason (among many) most of
>> us will recommend againsts using General fields entirely.
>>
>> The problem is that it isn't a file, exactly. It's an object. And the
>> storage format of that object is ENTIRELY up to the owning
>> application (which isn't VFP).
>>
>> If you go to universalthread.com, there are a variety of utilities
>> for extracting various object types in the download area. Your
>> mileage may vary.
>>
>> Dan
>>
>>
>> DDM wrote:
>>> Hi everyone.
>>> Quick question - how does one extract files from a general field to
>>> put in a directory on the harddrive?
>>>
>>> I have the code for alowing the user to name the file again, but
>>> have not been able to find the method for telling foxpro to make a
>>> copy of the file inthe general field onto the harddrive.
>>> TIA!