Get An Unhandled Exception When Use A Windows Media Player Control On The Form In Order To Play A Movie File

Nov 23, 2010

I get an unhandled exception when I use a windows media player control on the form in order to play a movie file.It only happens when I run the program. But in debug, the error does not occur. What do I do?

View 4 Replies


ADVERTISEMENT

Play A Mp3 File Without Adding A Windows Media Player Control?

Aug 12, 2009

Play a mp3 file without adding a Windows Media Player Control

View 5 Replies

VS 2010 : Play A WMV File Without Using A Windows Media Player Control?

Nov 12, 2011

I want to play a WMV file without using a Windows Media Player Control.

View 39 Replies

Play Specific Portion Of A Video File Using Windows Media Player Control?

Sep 18, 2009

I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.

View 1 Replies

Play Specific Portion Of A Video File Using Windows Media Player Control In Program?

Sep 18, 2009

I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.

View 1 Replies

Load A Movie From Database To Windows Media Player?

Dec 24, 2009

I save a movie in access database in binery tape... How can I Load that to windows media player? In VB.Net

View 1 Replies

Shell - Media Player Play File Error - Refuses To Play

Sep 16, 2010

Im trying to open media player (full screen) and play a movie. When i create the file path like so: Dim MoviePathVTS As String = String.Concat("""" + tempMoviePath, " \VIDEO_TS\VTS_01_1.VOB" + """")

It wont play the file but if i do it like this: Dim video1 = """F:\Movies\DvD\Angels and Deamons\VIDEO_TS\VTS_01_1.VOB"""

It plays fine? the file paths are the same including the extra "" but it just refuses to play. I need the top one because i have many movies in a treeview.

Heres my code

Private Sub watchNow_Click(ByVal sender As Object, ByVal e As EventArgs)

'get the position of the selected node
Dim i = movieTreeView.SelectedNode.Index

[CODE]...

View 2 Replies

Add A Windows Media Player Control To Form?

Jan 17, 2009

I am trying to add a windows media player control to my form. However I do not see the control in the toolbox. Is there a way to add it?

View 3 Replies

Windows Media Player Control Playing Behind Form

Aug 25, 2010

I have been trying to tweak the form and all of a sudden it doesn't show anymore. I have tried reversing all the settings back to original but nothing. Then I have tried:

[Code]...

View 3 Replies

How To Play FLV Files With Windows Media Player ActiveX

May 26, 2011

I'm going to build a video player in vb.net, but during the development I've met some complications.

1) The windows media player ocx takes a long time to play the first video, I think for a problem of initialization
2) The window media player ocx doesn't play flv files

The alternative or possible solutions.
1) insert flv codec into the project for window media player ocx, but how?
2) use the flv component, but I don't know with precision what is the right code to use to play video files with the vlc component and sometimes during the dispose of the vlc instance, the system give me a blue screen.....

I know that there are two wrappers for the vlc componet the libvlcnet and the VideoLan DotNet for WinForm and WPF, but i don't find any example on how ti implement and use them in vb.net. Use the ffmpeg video conversion engine for window media player, but how can I implement ffmpeg in vb.net, is there any wrapper or activex for ffmpeg open source?

View 4 Replies

Play MP3s Without The Windows Media Player Codec?

Aug 19, 2010

Is there a way that I can play MP3 files in my program without using the Windows Media Player codec that still allows to play/pause and stop the music?

PS- I am using Visual Basic 2010 Express

View 5 Replies

[2008] Play MP3 Files Without Using Windows Media Player?

Jan 25, 2009

how can I play a MP3 file without using Windows Media Player or Direct Sound? I cant use DirectX even if I wanted to! Is there any other way? I could not use DirectX because I could not install the DirectX Software Development Kit on a 64 bit system!

View 8 Replies

C# - Windows Media Player - Enable Play Button Without OpenFileDialog?

Oct 23, 2009

this is probably pretty simple, but I've noticed that when trying to start the Windows Media Player (AxWMPLib), it takes the "player.url = path", and only then does the player's Play-button get activated. Thing is, I want to play sound files taken from the URL of a column in a database. And when clicking on that row, the mediaplayer should update, making it's play-button clickable.

View 1 Replies

Insert A Windows Media Player Object In My Form - Not The Control On My Toolbox ?

Apr 26, 2012

I want to insert a Windows Media Player object in my Form, but I have not the control on my Toolbox.

I have done the steps:

Right-click
the Toolbox -> Choose item -> COM Components -> add Windows Media Player component
(which references to C:WindowsSystem32wmp.dll)

But there is not the control on my Toolbox.

In my project references I see "MediaPlayer" into "Imported namespaces" and it is checked. In the references window it is also present "Windows Media Player". Where is the error?

View 4 Replies

Get A Video To Play In Windows Media Player In Visual Studio 08 Professional?

Jul 18, 2009

So I found the Windows Media player and added it on my form. I have a sample wmv called bear.wmv file in my solution explorer. How do I get the video to play? I was hoping for a smart tag and just connect the player to the wmv file,

View 1 Replies

Make The Windows Media Player Element In VB Play The Next Song After The Current One Is Done?

Dec 21, 2009

How would I make the Windows Media Player element in visual basic play the next song after the current one is done. I know you can do it with a playlist but how would I do it with out any kind of list boxes or stuff like that. To browse for the files i use a open file dialog.

View 9 Replies

Windows Media Player - Only Play / Pause And Stop Buttons Work

Nov 6, 2009

I am actually designing a simple media player. Here are all the buttons I have
1)play
2)pause
3)stop
4)next track
5)previous track
6)fast forward
7)fast rewind
8)repeat playlist

Public Class Form1
Dim myarray(100) As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WMP.uiMode = "NONE"
[Code] .....

In all of these only play, stop and pause work everything else isn't working. tried lot of codes and even forms nothing works ..

View 7 Replies

Windows Mobile Appication - Have A Media Player To Play Video On The Application?

May 1, 2009

how have a media player to play video on the application??? is there a drag and drop media box?

View 1 Replies

Play M3u File In Media Player In App?

Jan 25, 2012

I have 28 mp3 and 28 wav files. A Treeview allows user to select "Matthew" then click on a chapter and that chapter plays. What I want to accomplish, is to allow the user to click on "Matthew" in the treeview and the m3u (playlist) plays the entire Audio

Book of "Matthew".

I have researched the forums, tried numerus examps, checked out MSDN examps and Learn and still cannot find a way to accomplish what I want.

View 2 Replies

Play Swf File In Media Player Current Video File?

Dec 13, 2011

I m trying to create media player .i want to add an swf file in current running video file at the top of my video player or bottom of my video.

View 2 Replies

Media Player - Progress Bar That Can Take Movie To Selected Point

Nov 12, 2010

How can I make a media player in which a progress bar is like a trackbar and it can take my movie to the selected point

View 1 Replies

Indows Media Player Doesn't Play The FLV Player?

Apr 10, 2009

I want to know that how to add FLV payer component in VB.Net..cz windows Media Player doesn't play the FLV player.

View 2 Replies

Make VB 2010 Media Player Using Picturebox Not Windows Media Player?

Jun 9, 2011

make media player in vb6 or vb2010.. not using windows media player..

View 1 Replies

Control Windows Media Player From Application?

Dec 7, 2010

It's usual to see hoe to build a player with the AxWindowsMediaPlayer.

But in this occasion, I'm interested in control de Windows Media Player from Windows 7 with my own application.For example, I want to create a button that is able to pause or play the video that I'm watching with the WMP.

View 10 Replies

Getting MP3 Info From The Windows Media Player Control

Sep 3, 2010

I want to know if its possible to get song information (Artist, Song Name, ect.) from the Windows Media Player Control in VB 2008. I have the control on the form and I want the program, if a song is playing, to be able to get the information above (most importantly artist) and put it in a textbox.

View 1 Replies

Insert A Windows Media Player Control Into VB>

Feb 27, 2010

I need to insert a Windows Media Player Control into my Visual Basic Code in order to play WMV files. How do I do that in the simplest way?

View 4 Replies

Unable To Use Windows Media Player Control

Jun 12, 2009

I am developing an application to play sound effects. I intend to have four seperate channels that can each play their own file.Seems a bit slow - can I buffer the files or is there an alternative to the Url property?Can I drag-drop onto this control? I have set the AllowDrop property to true, but I cannot find the event handlers for DragEnter, DragLeave and DragDrop that need to be handled to allow dragging and dropping.Is there a way to fix this or do I need to find an alternative? If I need an alternative, it must Be able to play any type of media file - mp3, wav, ideally midi.Have adjustable pan and volume?Be able to loop a track?Be quick at loading a file??Be able to mute?Ideally have some form of VU meter or something like that.?Be able to be dropped on to.The other thing that would really be awesome would be if I could have an option that would route each player to an individual output on the sound card; I have an 8-out sound card, and it would be great if I could send player one to outputs 1/2, two to 3/4 and so on.

View 13 Replies

Using A Hidden Windows Media Player Control?

Aug 28, 2010

How can I do this with either the My.Computer.Audio method or using a hidden windows media player control.

View 1 Replies

VB2008 Windows Media Player Control?

Apr 1, 2009

I am trying to created a simple media player program. I have a Windows Media Player control on a form (renamed it wmp1) and a listbox that creates a list of filenames from a given folder location.When i click on a filename from the listbox, i set the wmp1.url to the filename in the listbox and all is good as the wmp1 control automatically plays the file chosen form the listbox.

View 9 Replies

Better Control For Viewing Videos Than Windows Media Player?

Dec 6, 2011

having lot of problems playing a video on a form.Is there a better control for viewing videos than windows media player? For video resource files, what should the build action be? Will a form which has a 32-bit windows media player control on it work on a 64-bit computer?For some reason, the following code does not work:

If System.Diagnostics.Debugger.IsAttached() Then
strVidFilePath = System.IO.Path.GetFullPath(Application.StartupPath & "....
esources")[code].....

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved