VS 2010 Media Player Is Skipping Some Tracks - In Interval Of 2 Tracks
May 2, 2010Media Player is skipping some tracks, in interval of 2 tracks, I don't know why. Imagine a list of 5 tracks.
[Code]....
Media Player is skipping some tracks, in interval of 2 tracks, I don't know why. Imagine a list of 5 tracks.
[Code]....
Media Player is skipping some tracks, in interval of 2 tracks, I don't know why.
[Code]...
Im trying to make the media player start some tracks that i have in a folder in the working directory of my program. I am not sure how to do this as I have never used the media player. The program has a media Library i have called itunes and a variable for the number of different genera available (there are only 2 at the minute) there is an array that gets the track and genera. The horizontal scroll bar is suppose to select them but doesn't (if i change the number in the array it works) Called HSB.[code]
View 3 RepliesIs it possible to prevent the pause or gap when playing audio from a windows media playlist in VS 2008?
Or is there another method of playing .wav or .mp3 files without pauses or gaps inbetween each other?
I have a media browser program I am building. I am trying to use drag/drop so a user can drag media tracks from one listview to another listview and then use the second list view as a playlist in windows media player com object. Reading at MSDN I have found out that there is no built in support for item re-ordering with the listview control. I have listview1 working correctly but when I try to reorder items in listview2, the dragged item ends up at the end of the list. So basically I need to get the item insertion index corrected. I have tried more than 10 times to get this code right.
Here is my code which includes a form with two listview's.
Public Class Form1
Private Sub ListView_ItemDrag(ByVal sender As Object, ByVal e As _
System.Windows.Forms.ItemDragEventArgs) Handles ListView1.ItemDrag, _
ListView2.ItemDrag
[CODE]...
I have recently created an application to play videos using theAxWindowsMediaPlayer object. I was able to set good part of the controls but I'm still struggling with the audio track functionality. In order words, I was not able to find a method or even a property that allows me to select which audio track should play with the movie. If the movie has more than one, the audio tracks are played all together when the play method is executed.
View 3 Repliesfirst wanna say, awesome forum here wish i'd found it sooner so basically im trying to create a tool for my group (6 people) that tracks tickets they work, basically we work jobs by ticket request and im trying to create a tool/program where they can enter:the ticket number if they completed,pending etc and notes of the job i figured it was gonna be easy, do a simple GUI that saves the info to a excel sheet or a access DB file.
that is basically how it looks. what im trying to figure out and hoping to get some help on is what is the best way to go about this? would a access DB work out better? (since i am hoping to expand it later like add a auto date/time function etc)how do i get it so when i hit the "submit" button it copies the fields and puts them into the DB file?
make media player in vb6 or vb2010.. not using windows media player..
View 1 RepliesI've tried adding the reference.. But no matter which one i add, it never pops up in my toolbox (I debug after adding each reference)..
What am i doing wrong? I'm taking the references from the COM tab in the references list.
I had an old vb2008 program that had a working wmplayer component. I upgraded the project to vb 2010 and now it doesnt work, i get the error:
Code:
System.InvalidOperationException was unhandled
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. I added the wmp.dll in the COM components in the toolbox.
I cant get it to work.
I have 64bit windows, but the app im developing needs to work of 32bit (and 64 bit if possible). also windows 7.
I added a new form and tried to drag the windows media player component onto the form and it showed an error and would not add it to the form it said.
Failed to create component 'AxHost'....unable to load one or more of the requested types.
The weird thing is if i open a new project ad=nd add the wmp control to the form it works and debuig runs fine too!
I inserted wmp active x some buttons for my online streaming links and i created a button for fullscreen.
To enter in fullscreen while the stream is running i used this code Me.AxWindowsMediaPlayer1.fullScreen = True But when i click the button while the player is connecting to stream i get an error like this:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
[Code]...
I was wondering if it was possible to use Visual Basic .NET and perhaps the WMP Interop DLL to get the active song from Windows Media Player, and maybe the playlist that's currently on it? I did a quick Google search and found a bunch of jargon that wasn't related (such as making my own MP3 player using WMP Interop
View 5 RepliesI have read through quite a few tutorials and videos and I am building my application quite good now, I have a webbrowser control that has a bunch of links from my website (MP3 files) now, how would I open a link and play it in my inbuilt MP3 player? When I click a link it plays in windows media player.. I want it to play the file in my app. I have a Webbrowser, a windows media player and listview, basicly I want to add the mp3 to open in the listview and be able to play it in my player, how is this possible?
View 5 RepliesI want to play a WMV file without using a Windows Media Player Control.
View 39 RepliesI'm creating a kind of 'playlist manager' application where the user can create his own music playlist and then play it from my application. However, I don't want to give my application any playback features itself, as there are already so many media players around. Instead, I just want to open the files in the current playlist in the media player of the user's choice.
I have a list of MP3 files (their filenames), how do I now open these files simultaneously in, for example, Windows Media Player? I can get it to play one song, using this command (and Process.Start)
[Code]...
Surely this must be possible? You can open multiple files in windows itself simply by selecting them and opening them at the same time. I'm pretty sure the filenames of the selected files will then be in the arguments of wmplayer so that it can open them, but I just don't know in what format.
Public Class EasyPlayer
Private Sub EasyPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
System.Diagnostics.Process.Start("MediaPlayer")
End Sub
[code]....
I have looked all over the internet to find specifically what the title says and i cant find anything that will work and is what i want, it's mostly all vb6. so even more specifically i am creating a program that captures screenshots of the "axwindowsmediaplayer" control at what ever frame or part of the video it's on. i also noticed that there is a command in the little menu when you type in "axwindowsmediaplayer.capture" i don't know how to use it?
View 2 RepliesI 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 RepliesI have created a media player (vb.net 2005) using the media player control. Plays fine when using open dialog box and url. I have set my player as the default player but when I click on a media file, the player will open but not play. I am sure it has to do with on open event and coding the url to see the selected file just like any other media player out there.
View 14 Repliesi am using following code to play a mp3 with build action for mp3 after adding to application is set to copy always...
Public
Class Form1
ivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code].....
So basicly ive made a media player in vb using the windows media player control and everything is fine except that when i use the trackbar to navigate on a video it starts stopping and starting like a scratched cd (there is nothing wrong with the video file) strangely this does not happen whilst playing audio files the shaking stops if i pause it for a second ant then play it again but incorporating a pause in the trackbar function does not help. This the code i found on the internet but this produces the same result:[code]...
I've looked around a bit and have yet to find an answer: Is there a Media Player Control in the .NET Framework? I know there is a COM control
View 4 RepliesI want to create media player in vb.net. It will supports all the different file formats like wmv,flv,mpg etc.,
View 1 RepliesI have created 2 forms: "Form1" and "Form2"....Form1 is MDIcontainer and it contains Form2. In Form2 I have inserted the windows media player OCX. When I run the program and try to set the media player to fullscreen (via command button) appears an error:
{"Errore irreparabile (Eccezione da HRESULT: 0x8000FFFF (E_UNEXPECTED))"}
Here's the
Public Class Form2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWindowsMediaPlayer1.fullScreen = True
[Code] ....
If I open a new project and I copy the code and the media player it works! I think problem is when I use MDIforms.
How to make a media player in Vb.net& and my media player get video activity , like Cars bikes or peoples
View 14 RepliesI m Newbie in Visual Basic, im use vb2005 Pro Edition.i want to make Media Playerif i play Video Video show in New wind.w
View 5 RepliesMaking my own media player and convert it in to an .exe file in vb 2008
View 1 RepliesI am having an issue playing video with an embedded Windows Media Player control. It plays fine on Windows XP but comes up blank on Windows 7. I am guessing it is compatibility between version 11 and 12. Am I correct in thinking that Windows 7 will not play the Media Player 11 control? If so, how do I package my product to work with XP and Win 7? If I develop on Win 7 will the Media Player 12 embedded control play on XP (backward compatible)?Should my requirements be that Media Play 11 is installed? I am just confused because I cannot find anyone else having the same issue. Has anyone experienced this or know about it?My problems are, Video was playing in Windows 7 but clicking the video gave an untrappable (didnt catch) error (crash) in the Click event of the video... then suddenly (i think after a windows update) the video is not Playing anymore. But it plays fine and does not give the click error on Windows XP.
View 6 RepliesI have this one project going on, and I has media player inside the form, and other staff too. How I can make only the media player to go in fullscreen?
View 2 RepliesMy media player track bar is jumping across the screen. In about 45 seconds the track bar is done.
Under properties I have interval 1000 set and behavior is timer tick.
HTML
If Me.AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsBuffering Or Me.AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsPlaying Then
Me.TrackBar1.Minimum = 0
[Code]...