Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining file types and validity
Message
From
29/05/2001 00:41:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Determining file types and validity
Miscellaneous
Thread ID:
00512062
Message ID:
00512062
Views:
40
Hi,

Does anybody know how to determine what type a file is.
Meaning I have a file what a non specified extension let's say .viv.
But this could be a zip, doc, pdf or mp3 file.

How can I know what type of file this is. Without having to change the extension and see if I can open it with Winzip, Word, Adobe, or an audio player.

Because I can see in Windows 2000, the explorer, shows for a file with extension zip, and a valid zipfile, in the status bar, how many files are in the zip file.
If it is an invalid zipfile, it shows a tool tip with something like bad zipfile.

For an mp3 file it shows the small player (slider). If it's not a valid mp3 file the slider get's disabled.

Thanks for any information on this subject already.
Next
Reply
Map
View

Click here to load this message in the networking platform