WMP Library and File association RRS feed

  • Question

  • Hello,
    I am not sure this is the proper forum for what I need but it was the closest one I found.
    What I want to do is add a custom extension to WMP libraries.
    I have searched alot then I have changed the registry:

    Windows Registry Editor Version 5.00
    ; Parts are set, but type already exists

    ; WMPlayer extension
    ; WMP MLS Extension
    ; This is very important for WMP to identify mntit files as video files

    What is happening is that, when I open WMP the files with the extension ".mntit" do appear in my videos section, but after a while (like 2 or 3 minutes) they dissapear!
    All I want is for them to show up on my library.

    Another question, is there a way to specify how a file will open in WMP?
    For instance, when the user double clicks the ".mntit" file, I want it to run my program "MountIt".
    Is that possible? My program is already finished and working fine. What I need is for WMP to run it passing as an argument the file the user has clicked. Is that possible??

    Tuesday, December 22, 2009 12:51 AM