Make VB 2010 Media Player Using Picturebox Not Windows Media Player?
Jun 9, 2011make media player in vb6 or vb2010.. not using windows media player..
View 1 Repliesmake media player in vb6 or vb2010.. not using windows media player..
View 1 RepliesHaving worked out how to make a Windows Media Player in VB 2008, I have a new problem of exporting the file and debugging to play the music. I can add midi/mp3 files to the resources section so it works when I press f5 in VB itself, but opening from the debug folder (to save for other computers) loses all the music.
View 6 RepliesI 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 RepliesHow 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 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.
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 make a deskband app that displays some text and buttons like windows media player when minimized on taskbar. What is the necessary imports / dll i need to use ?
View 1 RepliesPublic 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 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 Repliesused the latest WMP (v11) with .NET? I've been writing a VB6 program using the v9-10 dll, and now I find out the machines I need to use it on are v11 (which doesn't appear to play nicely w/vb6).
View 1 RepliesHow 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 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'm having trouble working with VB.Net 2010, I'm trying to have a Windows Media Player video play, and once it ends I want it to go to a new task. But I cannot figure out how to get it to get to that new task in the event that the video ends.
View 1 RepliesWhat is involved in deploying a vb.net 2003 application with the Microsoft Media Player component? What files must be part of the build?
View 7 RepliesMaximizing windows media player
View 3 RepliesI was wondering how programatically to pause the windows media player component and how to get and set the windows media player current song position.I only know the basics with windows media player component like
axwindowsmediaplayer1.url = "whatever.mp3"
axwindowsmediaplayer1.settings.volume = 50
It said on a forum somewhere
[code].....
All works fine until i take the .exe file and change directory, desktop etc.[code]...
View 2 RepliesI have a form with the WMPLIB embedded in the form. I cycle through music files ripped with WMP and some of them I get a media error, but it doesn't indicate what the error is. How do I find out what is wrong with the rip? I am using VB.NET. I use: [code] to load the file. Most of the files play fine, but some do not. I have set an error trap sub but how do I tell what is wrong with the file?
View 1 RepliesI am making a game and i would like to know how to have more than one song loaded into my windows media player object at a time All I know is this code to have one url: axwindowsmediaplayer1.url = "song.mp3"
View 2 RepliesI have been looking all over trying to find a sample to guide me through burning a basic audio or data cd using the windows media player sdk. I have been using the library at msdn as a guide so far but I am stuck at where they tell me to:
"Before you begin burning a CD, you must first call QueryInterface through an IWMPCdrom pointer to retrieve a pointer to the IWMPCdromBurn interface. By using the isAvailable method, you can determine whether a particular CD drive can burn CDs, whether there is a CD in the drive, and how the CD can be used."
I do not see any queryinterface iniwmpcdrom properties and vb.net doesn't support pointers.. so not sure what to do Does anyone have any samples?
I have a Graphics adapter with 2 ports and i connect 2 monitors into the graphic adapter.im currently develop a project which use 2 multimedia player (windows media player and lets say A_player)the problem is,when i play the video with windows media player, it will show full screen in the second monitor.i don't want windows media player show full screen in the second monitor...i only want the A_player show the full screen in the second monitorcan.
View 3 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].....
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 RepliesI create one application using vb .net and vs 2010 in which windows media player is exists. But the player is not looks like media player 12 ve3rsion. It looks like media player 9 version. How to change the appearance or skin of media player
View 2 RepliesIt'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.