如何将VLC Player嵌入我的Windows窗体应用程序(C#> Net) [英] How to Embed VLC Player into my Windows Forms Appliction (C#>Net)

查看:317
本文介绍了如何将VLC Player嵌入我的Windows窗体应用程序(C#> Net)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想嵌入(Vlc Player-coz是最好的运行所有音频/视频格式的地方).但是我无法在这些方面取得任何进展.
我已经查看了videolan论坛,发现了一篇文章(但已过时),
现在,任何发现vlcLib.dll和Plugins文件夹的方式都是我们需要作为参考导入的,但是我也无法继续进行.

出现一些错误,提示无法加载dll .....-文件可能无法管理库
请帮忙.
我正在使用Windows窗体应用程序.也可以使用WPF(如果建议很好,我知道有MediaElement和各种其他控件可以帮助播放音频视频.-但是不能使用它,因为可以使用Windows Media Player .. )

我将VS2010用作IDE.
开发平台:Win 7

请尽我所能.
-Regards

Hey EveryOne ,
I want to embed( Vlc Player - coz is the best for running all kinda Audio/Video format out there ). But I am not able to progress any way on these lines .
I have check out videolan forums , found one article ( but was out of date ) ,
Now , any how have found out that vlcLib.dll and Plugins folders is all that we need to import as reference , but im not able to proceed on this as well.

Some error saying Unable to load dll ..... - File may not be managed library
Please help.
I am using Windows Forms Application.. Can Use WPF also ( if the suggestion works well - i know there is MediaElement and various other controls that help in audio video playback .- But Can''t use it coz Uses Windows Media player ..)

I use VS2010 as IDE .
Dev Platform : Win 7

Please Do Help mee out of this .
-Regards

推荐答案

首先从"C:\ Program Files \ VideoLAN \ VLC \ axvlc.dll"中注册axvlc.dll

然后将其添加为com组件
First register axvlc.dll from "C:\Program Files\VideoLAN\VLC\axvlc.dll"

Then add it as com component


您可以通过vlcActivex控件在Winforms中嵌入VLC Player
如何嵌入VLC c#.net Windows应用程序中的控件 [
you can emmeded VLC Player in winforms via vlcActivex control
How to embed VLC control in c#.net windows application[^]


是的!我确实按照@
给出的步骤进行操作
如何将VLC控件嵌入到c#.net窗口中应用程序
和它的工作!
非常感谢 !! BUT BUT BUT
我的应用程序.exe在未安装vlc的计算机上无法运行!.
请帮忙!!
我想将一个独立的VLC播放器嵌入到我的表单中,我该怎么做?
请帮我解决这个问题.. !!
Yeap ! I did follow the steps given @

How to embed VLC control in c#.net windows application
and its working !!
Thanks alot !! BUT BUT BUT
My applications .exe does not work on the machine that has no vlc Installed !.
Please Help !!
I want to embed an independent vlc player into my form how can i do that ?
Please Help mee outta this ..!!


这篇关于如何将VLC Player嵌入我的Windows窗体应用程序(C#> Net)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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