Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read .MEM file from C#
Message
 
À
28/06/2023 08:54:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01686786
Message ID:
01686791
Vues:
67
>>>Hi all!
>>>
>>>We are retrieving data from a VFP app. No problem for the standard DBF data but some of the data was saved in .MEM variables files. So easy to RESTORE FROM in VFP but we haven't found a way to convert them from C#. Variable names and variable types appear in clear in the .MEM file. Character type values are also readable but numeric and date values seem to be encoded. We haven't found a description of the structure of the .MEM file. Does any one have a solution?
>>
>>Do you have to do this on an ongoing basis? If not, just restore the file once in VFP and then save the data out to some better format.
>>
>>If you need to share data over time, is it possible to change the VFP app? MEM files are incredibly outdated.
>>
>>Tamar
>
>Thank you Tamar,
>
>Unfortunately, we will need to do it often (hundreds or thousands times) and can't change the VFP app. In the meantime, I found some info about the Clipper .MEM file format here: http://www.zelczak.com/clipp_en.htm
>
>It might me similar to the VFP one, right?

Would an alternative approach be to create a new VFP app (COM server, perhaps) whose sole purpose is to read .MEMs and save them in a desired format for consumption by C#?

hth
________________
_____/ Regards,
____/ al

___________________________________________
www.jcn-associates.com
Visual FoxPro Database Application Development and IT Project Management
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform