in code

AxMediaPlayer1.FileName="c:\temp\test.avi"

AxMediaPlayer1.Play

working properly, but when I try to play .wmv

files

AxMediaPlayer1.FileName="c:\temp\test.wmv"

AxMediaPlayer1.Play

i got error in line axmediaplayer1.play

files test.avi and test.wmv exist adn they work properly in any player

Why?

I think that this error is same one as if I dont have file or file is wrong.

"An unhandled exeption of type

System.runtime.interoptservices.COMExeption

occured in axiteropt.mediaplayer.dll

Additional information: Unspecified error"



File test.wmv exist and work in Windows media player when i start his directly

Thanks in advance