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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top