Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting Object into BLOB field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01423962
Message ID:
01425596
Vues:
38
>>>>
>>>>It's a long time ago - but try
>>>>
>>>>#define adSaveCreateOverWrite	2
>>>>=loStream.SaveToFile('\tmp\00.eml', adSaveCreateOverWrite)
>>>>
>>>>
>>>>look here for more info http://msdn.microsoft.com/en-us/library/ms675032(VS.85).aspx
>>>
>>>Hi Agnes,
>>>
>>>That might work but I am conserned about the overhead of writing these to disk.
>>>
>>>Does anyone know if there is a way to create a 'virtual' File object in VFP to prevent a 'real' file from being created, if possible I would expect this to be faster.
>>>
>>>Thanks,
>>> Nick
>>
>>haha - is this meant for me or for member#046982
>>
>>If not for Agnes - isn't a stream sort of a virtual file ?
>
>Gregory,
>
>Apologies for that, don't know what happened there. Maybe I had too many windows open at the same time.
>
>Yes a stream is a sort of file but how can I pass a stream into a function which is expecting a file name?
>
>Nick


That would be tricky since the interfaces of a filename and a stream are different

But the function could test its parameters and act accordingly
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform