Open Windows Media Player

  • Thread starter Thread starter Yossi And Inbar
  • Start date Start date
Y

Yossi And Inbar

Hi,
I am using VS2003 C# and i want to run avi file from my application.
How can i process that open Windows media player and run my file
automaticlly ?

Thanks,
Yossi
 
Hi Yossi,

In addition to Tim's suggestion of letting Windows fire up whatever program is assigned to the avi-format you can load the Media Player COM object. In visual studio Add Reference, select the COM tab and locate Windows Media Player on the list.
 
Back
Top