Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to tell if its a VFP EXE?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00175871
Message ID:
00176520
Vues:
25
Hi Isaac,

>I found a little problem with using "Set Procedure To". You can set procedure to any text file. Hmmm, I'd like to try and make this "idiot proof" but, as they say ... "make it idiot proof and they'll build a better idiot".

Additionally you can use the GETFILEVERSION() function in FoxTools.FLL or AGETFILEVERSION() in VFP. This function returns version information about the EXE and a TXT file doesn't contain such information. This function returns 0 in case of a TXT file.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform