469,637 Members | 1,628 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,637 developers. It's quick & easy.

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 9123
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
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.