Using windowsmediaplayer.ocx

  • Thread starter Thread starter Shorty
  • Start date Start date
S

Shorty

Hi,

I'm trying to incorporate the windowsmediaplayer.ocx in my program to play
some music. I can add it, but I can't figure out how to control the bloody
thing. I've searched the net for the commands, but I'm not seeing it.
Could anyone help? Also, thanks for the people who helped me with my other
problem.
 
Shorty...

Did you add it just as a reference or did you add it to your toolbox?
Adding it to your toolbox is a lot easier because you can just drop the
control on your form and go. The references etc will all be covered.
 
Yes, I did try that. I added the windows media player ocx to my
components toolbox and "drag and drop"ed the ocx into my form. I can't
figure out how to set the controls to open this file, to play this file
etc. Also, is there a command that will do something once the file is
done playing? Thanks a lot!

Shorty
 
Back
Top