473,499 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to play a video using visual basic 6

9 New Member
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 9472
Killer42
8,435 Recognized Expert Expert
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 New Member
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 Recognized Expert Expert
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

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

Similar topics

22
2505
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play...
5
14440
by: mcfarlandorama | last post by:
Hello, How do I play a DVD from a website? I am starting with zero knowledge of media but have HTML Experience. I found out that Windows Media Player won't play the DVD. Do I suggest everyone...
13
4841
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
3
4619
by: John Piper | last post by:
Again, I am a beginer, and need help. Can some walk me through the steps to do the following: click a button, which will play a video file in WMP in fullscreen mode (launch player, not in a form)...
3
8363
by: Ryan Liu | last post by:
Hi, I want to play Audio/Video in my C# application(standlalone, not web applicatoin). The source of multimedia may in different formats and decided by the end user, which I have no control. ...
4
8034
by: Kevin | last post by:
Hi! What is the best way to reproduce media files (mp3, wav, wma, wmv, etc)? Thanks =)
2
2104
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
You're going to need to start with the driver for the camera - otherwise, your application might run into problems finding where the video is. Next, search (i.e. Google) into Twain Aquire...
3
8633
by: pavanip | last post by:
Hi, I am new to Silverlight application.I want to display video using Mediaelement tag and I used the below code to play video. <Canvas> <MediaElement x:Name="mPlayer"...
0
7012
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7392
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3105
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
307
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.