Click here to Skip to main content
15,909,829 members
Home / Discussions / C#
   

C#

 
QuestionUrgent..How to play and stop Video files externally using WindowsApplication Pin
kraj9923-Apr-07 23:54
kraj9923-Apr-07 23:54 
Hello Everyone,

I want to open, play, pause and stop Mpeg files in WindowsMediaPlayer using Windows application.
I have added the wmp.dll(windowMediaPlayer dll) to the references. By using the WindowsMediaPlayer class, I am able to open the player
( this is how it is -
WindowsMediaPlayerClass wmPlayer = new WindowsMediaPlayerClass();

wmPlayer.openPlayer(@"C:\monkeydog.wmv"); )

, but I am not able to implement the Pause, Stop and fullscreen functionalities.
I tried these functionalities with - wmPlayer.controls.stop()and wmPlayer.controls.pause(), but this is not working fine.
Once the MediaPlayer starts, it nethier stops nor pauses.

Can someone help me out with this. Its quiet urgent.




Thanks..
Kraj
AnswerRe: Urgent..How to play and stop Video files externally using WindowsApplication Pin
Keshav V. Kamat24-Apr-07 0:08
Keshav V. Kamat24-Apr-07 0:08 
GeneralRe: Urgent..How to play and stop Video files externally using WindowsApplication Pin
kraj9924-Apr-07 0:48
kraj9924-Apr-07 0:48 
AnswerRe: Urgent..How to play and stop Video files externally using WindowsApplication Pin
Christian Graus24-Apr-07 1:19
protectorChristian Graus24-Apr-07 1:19 
GeneralRe: Urgent..How to play and stop Video files externally using WindowsApplication Pin
kraj9924-Apr-07 18:56
kraj9924-Apr-07 18:56 
QuestionUrgent Pin
Test27030723-Apr-07 23:36
Test27030723-Apr-07 23:36 
AnswerRe: Urgent Pin
Sathesh Sakthivel23-Apr-07 23:40
Sathesh Sakthivel23-Apr-07 23:40 
GeneralRe: Urgent Pin
Test27030723-Apr-07 23:51
Test27030723-Apr-07 23:51 
GeneralRe: Urgent Pin
Colin Angus Mackay23-Apr-07 23:53
Colin Angus Mackay23-Apr-07 23:53 
AnswerRe: Urgent Pin
Keshav V. Kamat23-Apr-07 23:55
Keshav V. Kamat23-Apr-07 23:55 
GeneralRe: Urgent Pin
Test27030724-Apr-07 0:05
Test27030724-Apr-07 0:05 
GeneralRe: Urgent Pin
Keshav V. Kamat24-Apr-07 0:10
Keshav V. Kamat24-Apr-07 0:10 
AnswerRe: Urgent Pin
CPallini23-Apr-07 23:57
mveCPallini23-Apr-07 23:57 
AnswerRe: Urgent Pin
Nouman Bhatti24-Apr-07 1:08
Nouman Bhatti24-Apr-07 1:08 
Questionmodify xml using editor Pin
praveenkumar palla23-Apr-07 23:05
praveenkumar palla23-Apr-07 23:05 
AnswerRe: modify xml using editor Pin
Fatbuddha 123-Apr-07 23:22
Fatbuddha 123-Apr-07 23:22 
GeneralRe: modify xml using editor Pin
praveenkumar palla24-Apr-07 1:53
praveenkumar palla24-Apr-07 1:53 
GeneralRe: modify xml using editor Pin
Fatbuddha 124-Apr-07 2:49
Fatbuddha 124-Apr-07 2:49 
QuestionWhy I'm not getting Vista style on my listViews? Pin
AngryC23-Apr-07 22:05
AngryC23-Apr-07 22:05 
QuestionBindingSource question, help me Pin
phantanagu23-Apr-07 21:43
phantanagu23-Apr-07 21:43 
AnswerRe: BindingSource question, help me Pin
Keshav V. Kamat24-Apr-07 0:37
Keshav V. Kamat24-Apr-07 0:37 
GeneralRe: BindingSource question, help me Pin
phantanagu24-Apr-07 14:53
phantanagu24-Apr-07 14:53 
AnswerRe: BindingSource question, help me Pin
K Vikas24-Apr-07 0:49
K Vikas24-Apr-07 0:49 
QuestionCreateInstance problem Pin
Tavbi23-Apr-07 21:33
Tavbi23-Apr-07 21:33 
AnswerRe: CreateInstance problem Pin
Colin Angus Mackay23-Apr-07 22:40
Colin Angus Mackay23-Apr-07 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.