Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to tell if its a VFP EXE?
Message
 
To
15/01/1999 10:19:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00175871
Message ID:
00176520
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform