|
-
Dec 29th, 2005, 11:29 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Checking if file has correct extension
Hello, I have a small problem with file extensions.
My application only works with one filetype (avi). When I take a file with a .mpg, .wmv, .wav, .mp3, .ac3 or other extension, rename it to avi and use my application with the file, then my application freezes, because it can't read the file.
I need to have some error checking for this. Is there a way to check if a file has the correct extension?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|