User Tag List

Results 1 to 2 of 2

Thread: Type of File

  1. #1
    No Products Registered

    Join Date
    May 2007
    Location
    Christopia
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Type of File

    I created something that opens up music files and plays them with the Direct Show object. But when some songs play the application freezes because it cant play the type of file. Is there a way so i can tell it not to open up certain types of files?

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Type of File

    Make a string parser and do the following

    Always
    Reset Delimeters
    Add Delimeter "."
    Set string to "*file path*"
    Set any value that isn't occupied to 0

    If (listGetAt$( "String Parser", listCount( "String Parser" )) = mp3
    Set the above value to 1

    If (listGetAt$( "String Parser", listCount( "String Parser" )) = wav
    Set the above value to 1

    etc

    If value = 1
    then approve the file format

Similar Threads

  1. Strange file type .6 ???
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 4th March 2011, 10:17 PM
  2. Open any file type?
    By Nerdy Nerd in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th January 2010, 01:10 AM
  3. How do i change a wma file type to a midi file
    By Coolorange in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 29th July 2008, 11:36 AM
  4. File type icons in MMF
    By thewreck in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th November 2007, 11:36 PM
  5. File type association
    By Gabriel in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th November 2006, 07:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •