locked
windows media player problem RRS feed

  • Question

  • i have a media player on my CLR windows form and i get this message evry time i try to run the application

    An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll

    Additional information: Could not load file or assembly 'Interop.WMPLib.1.0, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


    it makes it through the compiling part but right when the form is about to appear that message appears.
    can somone please help me

    and i even tried to make a blank form with just the media player and it still showed the message

    Wednesday, September 12, 2007 10:20 AM

Answers

  • Your project folder should have a sub folder called "Interop" please check if it contains a file called Interop.WMPLib.1.0.dll ,  if it doesn't try deleting the reference from the project and adding it again and do a full rebuild.  If that doesn't work try reinstalling media player.  

    Saturday, September 15, 2007 7:34 AM