Jump to content

Video and music

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
How to put video or music on form???

#2
Simonxz

Simonxz

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts
MCI is decent for music playing and if I remember correctly it does video too. You can also use the SoundPlayer class for music but it only does the wave format.

#3
Tonchi

Tonchi

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 471 posts
  • Location:Varaždin
  • Programming Language:C, C++, C#
and which control i have to use so i can play music or video

#4
Simonxz

Simonxz

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts
You don't have to use a specific control, you could just put a Button and set it so when you click on it, it plays a sound.

I'm pretty sure there's a way to use the Window Media Player controls in your form if that's what you're looking for. But you won't be able to change the look of them.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users