locked
Movie RRS feed

  • Question

  • Hi everyone,

    If want to know if  I make a program that can run movie file?Like on Windows Media Player.

     

    From Simon

    Monday, March 20, 2006 10:20 AM

Answers

  • Hi!

    Yes, you can do it. Easiest way is to put Windows Media Player inside your form.

    Open form in designer, right click in toolbox and run "Choose items" command, select "COM components" tab and find there "Windows Media Player". Check it. Click OK.

    Now in toolbox you have Windows Media Player icon - drop this control on form. If you write this

    axWindowsMediaPlayer1.URL = fileName;

    then player will load this file and play it.

    Monday, March 20, 2006 1:09 PM