472,138 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,138 software developers and data experts.

how to play a video using visual basic 6

9
hi pls help me on how to play a video in full screen using visual basic 6 and how can I unload the screen and load another form after the video stop from playing.
Another is how can I save a video in a database and then play it whenever I click a button. THanks ver much for your help.
Feb 1 '07 #1
3 9310
Killer42
8,435 Expert 8TB
hi pls help me on how to play a video in full screen using visual basic 6 and how can I unload the screen and load another form after the video stop from playing.
Another is how can I save a video in a database and then play it whenever I click a button.
You could come fairly close to full-screen by using the Animation control. To get real full-screen I'd guess you need to either use automation to run Windows Media Player, or use DirectPlay. Or look for a third-party control.

I'm guessing again, but you could probably store a video in a field of type "OLE object". You could also store a link to the video, and store the actual video in a separate file somewhere.
Feb 2 '07 #2
rayne
9
You could come fairly close to full-screen by using the Animation control. To get real full-screen I'd guess you need to either use automation to run Windows Media Player, or use DirectPlay. Or look for a third-party control.

I'm guessing again, but you could probably store a video in a field of type "OLE object". You could also store a link to the video, and store the actual video in a separate file somewhere.
Thanks for the response. Can you give me a sample code on how to run the windows media player, thanks again.
Feb 8 '07 #3
Killer42
8,435 Expert 8TB
Thanks for the response. Can you give me a sample code on how to run the windows media player, thanks again.
I've never used it, or seen any code that does. But if you go to Project | Components and select Windows Media Player (way down the end of the list), then you can easily add a WMP control to your form and have a play with the properties. I note that one of them is DisplaySize, one of the values for which is "3 - mpFullScreen". So this might be what you're after.
Feb 8 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

22 posts views Thread by The Road To Utopia | last post: by
5 posts views Thread by mcfarlandorama | last post: by
3 posts views Thread by John Piper | last post: by
3 posts views Thread by Ryan Liu | last post: by
4 posts views Thread by Kevin | last post: by
2 posts views Thread by =?Utf-8?B?anAybXNmdA==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.