VB6中的视频 [英] video in VB6

查看:106
本文介绍了VB6中的视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何在VB6程序中显示视频?

Does anyone know how to show video in a VB6 program?

推荐答案

尝试使用多媒体控件或使用来自
的windows mediaplayer控件br $>
PROJECT-> COMPONENTS。


如果你正在使用媒体播放器控制它很容易。


但如果你使用mmcontrol你需要在一个图片框中显示视频。
try using either the multimedia control or using the windows mediaplayer control from

PROJECT->COMPONENTS.

If u are using media player control its farely easy.

but if u use mmcontrol you need to display the video in a picture box.


尝试使用windows mediap播放器...它比其他更容易...

只需将此代码放入表单加载中..


例如..

wmp =组件名称


wmp.url =(这里是你想要播放的视频的路径)



或者只是去它的属性而且只是只需添加视频所在的路径
try to use the windows mediap player...it is quite easier than the other...
just put this code in the form load..

eg..
wmp=name of the component

wmp.url=(here is the path of the video you want ot play)



or else just go to its properties and just simply add the path where the video is





我也会推荐媒体播放器控制。

提示:您可以使用此视频播放器制作启动画面。创建一个avi文件并尝试将其加载到媒体播放器控件中。用标签覆盖边缘并使用进度条运行它。 Tadah!你会有你的闪屏!


问候,

杰夫
Hi,

I''ll also recommend media player control.

Tip : you can make splash screens with this video player. create an avi file and try to load it in media player control. cover the edges with labels and run it with progress bar. Tadah ! you''ll have your splash screen !!!

Regards,
Jeff


这篇关于VB6中的视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆