Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Are all raw text files created equally?
Message
 
À
29/04/2004 09:30:15
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00899303
Message ID:
00899324
Vues:
14
>I have two different utilities (one written in VFP and one written in VB) which create the same basic sequential text file. Records exported are taken from the same table.
>
>When I try to import the text file from the main application, one file gets imported. Attempting the same import to the second file fails...invalid file for no apparent reason. I visually compared the files and I see no diffenrence (bytes are equal).
>
>I do not have access to the source code of the two utilities...
>
>Could the files be different?...and if yes, is there a tool that allows me to find the differences?
>
>Thanks.

VFP comes with a hex editor (hexedit.app). It's under the tools folder.

It would seem to me that, if the file doesn't get imported, that the contents of the second file may be the problem. Easiest way to check is to load both files into a string using FILETOSTR(). From there, you can use the VFP string functions to find out the differences.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform