How To Play an MPG Video In The Background?
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
10 posts
Page 1 of 1
Really, the question IS the title.
Last edited by 345138 on Sun Dec 05, 2010 8:40 pm, edited 1 time in total.
Hello 345138,
What exactly do you mean by 'background'? .
You could add a Media Player control to your form and then use:
What exactly do you mean by 'background'? .
You could add a Media Player control to your form and then use:
Code: Select all
That would play your video repeatedly in the media player control.AxWindowsMediaPlayer1.URL = "C:\MyVideoFileName.mpg"
AxWindowsMediaPlayer1.settings.setMode("loop", True)
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
I mean I just want it to be the video, no controls being seen or anything.
Right click the media player, click properties, change the control bar or whatever it is called to none, then dock it to the parent container. Then you can expand and it expands, and there is no pause/play/etc.
Thanks, you guys are awesome!
My PS3 XMB will be sexy now.
My PS3 XMB will be sexy now.
345138 wrote:The video lags the program a bit.multithreading maybe ?
Any ideas?
Use a BackgroundWorker for multithreading.
The lagg may be due to your system specs.
The lagg may be due to your system specs.
Okay, thanks.
Mind taking a look at my other problem?
Mind taking a look at my other problem?
10 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023