Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cryptor - How to know if a DBF File is encrypted or not.
Message
De
06/03/2003 15:38:01
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00762372
Message ID:
00762428
Vues:
14
>Hi,
>
>I've been had some problems with this question: "How to know if a DBF File is encrypted or not..."
>
>I have some code that I can test if the file is encrypted or not... I think get the error code (not a table) and try to register(), but if I have some file with hearder's corruption? I will receive this error message, but the file is not register, he is just corrupted...
>
>Do you have some code (an example) to make the things easier for me?

Just an idea... if you knew a string in the table - for example there is a "Name" field and you know one of the records is "Rodolfo" - then you could maybe use FILETOSTR() then search for "Rodolfo" in the string. If it was present - even if the table is (mildly) corrupted - the file is not encrypted.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform