How do I embedd the MediaPlayer ocx

N

Nuno Magalhaes

How do I embedd the MediaPlayer (msdxm.ocx) in a Windows Form using C#?



I do something like the code below:


Player=new WindowsMediaPlayer();
Player.URL="http://"+RemoteIPTextBox.Text+":8080/";
Player.controls.play();


It connects to something but not showing anything in the picturebox.
How do I embedd the ocx described above?


Any help is appreciated, thank you,
Nuno Magalhaes.
 
N

Nuno Magalhaes

I already know thank you by the way. Add/Remove components in the
toolbar is the solution. A newbie question... sorry.
 

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

Top