954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to play video

how to play a video on the background of the form please guide i am really confused

khizer03
Light Poster
36 posts since Nov 2011
Reputation Points: 20
Solved Threads: 0
 
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

.suggestion: Take a look into adding a WindowsMediaPlayer to the Form and just add controls on top of it.

codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
 

hello !
you can play video by adding com component of windows media player , and use windowsmediaplayer.play ="path" to play the video , but what i understand from your question is that you want to play video as a background image of your form , am i right ?
Regards

waqasaslammmeo
Posting Pro in Training
472 posts since Aug 2011
Reputation Points: 38
Solved Threads: 82
 
hello ! you can play video by adding com component of windows media player , and use windowsmediaplayer.play ="path" to play the video , but what i understand from your question is that you want to play video as a background image of your form , am i right ? Regards


ya

khizer03
Light Poster
36 posts since Nov 2011
Reputation Points: 20
Solved Threads: 0
 
hello ! you can play video by adding com component of windows media player , and use windowsmediaplayer.play ="path" to play the video , but what i understand from your question is that you want to play video as a background image of your form , am i right ? Regards


but i am getting error hey please explain me through the code please

khizer03
Light Poster
36 posts since Nov 2011
Reputation Points: 20
Solved Threads: 0
 

then i think its not possible in a simple way , because there is no property of form which support this , but i have an idea :P why not you simply put a media player component and then put button on it and set your media player component send to back and set your control bring to front. may be it will work :P but it is just an idea

Regards

waqasaslammmeo
Posting Pro in Training
472 posts since Aug 2011
Reputation Points: 38
Solved Threads: 82
 
but i am getting error hey please explain me through the code please


Open the link that i provide to you. You will get codes there.
Or you can use codeorder n waqasaslammmeo to use WMP component.

Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: