Embedding vlc player in vb.net - vb.net

How to integrate vlc player in vb.net? Can anybody help me ? I am using visual studio 2008.
In my project i was using Windows media player before,but because of some problems occured in project.I wanted to switc my video player to vlc player..
My pc configuration:-
1)64 bit
2)Windows 8 pro 9200
Hoping that someone will help me.
My email Id - mayurpatil0123#gmail.com
AxWindowsMediaPlayer1.Ctlcontrols.currentPosition=reader.getString(5)
AxWindowsMediaPlayer1.Ctlcontrols.play()
Above code i have used for windows media player, I am searching for foe alternative for same code wic relates to vlc player.

Download the latest version of VLC, i'm sure it will work anyway, but just to have the same setup as me.
Add the VLC ActiveX as a component to the VB5 /6 project, it will put 2 traffic cones into the toolbox, called VLCPLugin and VLCPlugin2.
Place a new VLCPlugin control on your form and size it suitably, and add the following code to a button or the form load:
VLCPlugin1.addTarget "c:\winvideo\sample.avi", Null, VLCPlayListInsert, -666
VLCPlugin1.play
If you turn on autoplay, or use a vlc play list option with the word "go" in it, it will play the clip automatically.
You can use the fullscreen option to put it into fullscreen mode.
SOURCE

Related

Make video player using mpv player vb.nt

I want to make video player using MPV player on vb.net
Is there any dll to add it?
I tried dll called mpv-1.dll but when add it to visual studio 2015 he can't read it
I want it to play live video if there any way else please tell me.

Custom Windows Taskbar Buttons [duplicate]

How do I go about creating my own taskbar toolbar, a la Windows Media Player:
Windows Media Player's Start bar toolbar http://me.monoxide.ws/images/wmp-toolbar.gif
Examples or documentation or even open source software that implements this for just about any language would be appreciated, but Google isn't being very helpful. Ultimately, I would like to do this in C# (I expect to need P/Invoke) for XP onwards, but any language and Vista onwards would be acceptable/helpful too.
Check this out:
http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/e180c4d5-8cd7-47e3-b45a-d643c02bab36
(source: microsoft.com)
It's called as "Desk Band"
See MSDN desription about this
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/bands.asp
and sample over there
http://www.codeproject.com/csharp/dotnetbandobjects.asp
By the way, thanks for asking this question. Back in the days I also wanted to do this. However, yesterday I said bye bye to Windows and Hi to Mac. If you asked this yesterday I would upvote it trice if I could ;-)
You'll notice that Media Player on Win7 doesn't have a desk band. Instead it has tiny play/pause buttons in the thumbnail preview that appears when you mouse over the taskbar icon. You can do the same thing for your application. If you use Code Pack (http://code.msdn.microsoft.com/WindowsAPICodePack) there is a sample under Samples\Shell\ThumbnailToolbarDemo. Windows 7 only, but way less annoying than taking up an inch or two of taskbar, and just as handy when you want to insta-pause.

Windows media player UI

I have a question in vb.net
I want to make a short intro then people open my program but I have a little problem. Only way to put this video, is throung windows media player (incorporated in vb.net). Can I remove Windows media play skin (play, stop, contour and other "tools") from form? I need to appear only video in form.
Thanks.
if you are using the AxWindowsMediaPlayer, there is a property named uiMode which controls the level of UI displayed. Set it to "none" (a string) to remove the UI:
myAxWMP.uiMode = "none"

Why is my VB app invisible to the screen recorder?

I have written a VB application in VS2010. When I try to record its operation for a demo video with Windows Media Encoder x64 or Apowersoft free screen recorder, I get a recording of everything on the desktop except my application. It's like the application is invisible to the recorder. It has worked in the past (2 weeks ago). It must be something I have done but I'm baffled. Is there a "feature" in VB that can prevent you from recording the Form?
BTW, a still screen capture works fine and sub forms I bring up are captured. Only the main form is invisible to the recorder.
Thank you for your help and time.
Not a VS or VB problem after all. What I found was that windows 7 was switching me from Aero Theme to Windows 7 Basic. The message that showed up was that I was low on display memory. (A quick pop-up in the bottom right corner that I was ignored during the recording). However, I have 4.75 G of display memory?
BTW on a video conf call it produced the same invisibility "feature" until I found the Theme switch.
I haven't actually fixed anything but now know to watch for the tell tale screen blink as it switches mode. I pause the recording, and switch it back before restarting the recording. Got through the recordings I needed for now. I was using MS Media Encoder. I have now replaced it with Adobe Premier elements but haven't tried it yet to see if I still have the problem. Need to get the "how to" videos out the door first.
Thanks again. I have read many of your Answers to others in the past that have helped me solve numerous other VB and VS problems.
Michael
That's weird since it's recording forms from the application and not other forms (main form) from the same application.
Make sure you run the recorder as administrator and not the application.

Is there a way to access DELL XPS media buttons programmatically

If you have seen a Dell XPS in actions you probably have noticed its nice media buttons above the normal keyboard:
alt text http://blog.evolvedsoftwarestudios.com/wp-content/uploads/2008/03/img-1397.jpg
They are flashing when the notebook is starting and when you touch them.
Does anybody know how to make these buttons flash programmatically?
I had an old IBM laptop that had a keyboard light LED mounted in the top of the LCD frame (where the iSight is on a MacBook or MacBook Pro). I found that I could access this light via /proc/acpi under Linux.
I wrote a simple script that flashed the light on and off by interacting with /proc. There's a posting on my blog with the code.
You might want to try running an Ubuntu live CD and seeing if it detects the buttons, and if you can access them via /proc. A quick search showed that the newer XPS systems work out of the box with Ubuntu, so it'd be a good starting point.