By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,542 Members | 961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,542 IT Pros & Developers. It's quick & easy.

how to play a video using visual basic 6

P: 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
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 8,434
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

P: 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

Expert 5K+
P: 8,434
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.