Usin Windows Media 9 SDK?

Sep 30, 2006

I'm getting this Error

System.InvalidCastException was unhandled Message="Unable to cast COM object of type 'System.__ComObject' to interface type 'WMEncoderLib.IWMEncDeviceControlPluginInfoManager'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{632B6087-BBC6-11D2-A329-006097C4E476}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."

I'm just enumerating a collection of devices. The SDK is a bit different from the previous version. But my code seems to be fine.

Dim Encoder As WMEncoderLib.IWMEncoder

Dim Sources As WMEncoderLib.IWMEncDeviceControlPluginInfoManager

Dim Source As WMEncoderLib.IWMEncPluginInfo

Encoder = New WMEncoderLib.WMEncoder

Sources = Encoder.SourcePluginInfoManager (debug error occurs here.)

View 3 Replies


ADVERTISEMENT

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

Console Application Usin 50% Or More Cpu?

Apr 24, 2010

My console application usin 50% or more Cpu. (With other process total 100%).Exe size 20kb

I used timers and While in this application.Sometimes too Thread.Sleep.When I use "BES Cpu Limiter" Works perfect Cpu usage downs to 1%.

View 1 Replies

Windows Media Player Not Working On Windows XP Using Visual Studio Application?

Aug 8, 2011

I have embedded the WMP control in my Visual Studio 2010 app which works on windows 7 (Framework 4.0), but installing the app on winXP, I get the following error:

System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

[code]....

WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].

I guess this is a reference issue, but I have added references to WMP libraries (axinterop.wmplib.dll and interop.wmplib.dll). The WMP works on the XP machine, but not when called from my application.I have searched the web now for 5 days and changed references, and reinstalled the media player on the XP machine, but nothing works.

View 1 Replies

Winforms - How To Load Binary To Windows Media Player In Windows Forms

Jul 24, 2011

I've successfully saved video files into SQL server as varbinary. Now, my problem is, how can I play those videos in Windows Media Player (embedded in my Windows Forms).

View 1 Replies

Have Windows App To Run Media File?

Jun 2, 2011

i have windows app to run media filethe problem i fix the file path ex:cxyzdesktopxyz.wavwhen i try to run the application from other machine give me message error file not found because of the file path is change to

View 6 Replies

Using Windows Media Player 11 With .net?

Sep 24, 2009

used 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 Replies

.Net Video With Windows Media Player?

Jun 2, 2011

I'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 Replies

Create A Windows Media Center Add On?

Nov 15, 2009

Can I use VS2008 to create a windows media center add on? If so how would i do so.

View 5 Replies

Deploying Windows Media Player?

Mar 13, 2006

What 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 Replies

Find The Windows Media Services9 Sdk?

Jun 17, 2010

I have downloaded the windows 7 sdk but samples are in c++ Where can I find the windows media services9 sdk, I have read that there are vb.net samples?Where can I find vb.net samples, regarding to how to add publishingpoint on the server and fill them with files or playlist?How to make or add files to playlist etc?Are there samples in vb.net using SMIL?

View 5 Replies

Maximizing Windows Media Player?

May 16, 2009

Maximizing windows media player

View 3 Replies

Run A Video In A Windows Media Control?

Aug 2, 2010

I'm trying to run a video in a windows media control, like I had before, but for some reason it's not working. I'm not sure why either. As far as I can see I'm doing everything the same as I had for the first video..

first this code runs..

[Code].....

View 1 Replies

Using Windows Media Encoder SDK To Convert WAV To WMA?

Sep 15, 2009

I have downloaded and installed the Windows Media Encoder and the SDK. I am trying to convert WAV files to WMA files (& vice versa) using VB2005 Pro. I have found plenty of examples on google for working with video but no examples for audio.

View 1 Replies

Using Windows Media Player In VB 2010?

Jan 15, 2011

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!

View 6 Replies

VS 2010 Windows Media Player?

Jul 18, 2010

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]...

View 2 Replies

Windows 7 Media Center Add In Template And Example?

Nov 23, 2009

I cannot believe after all the hype of .net framework and using any language that MS and the VB.NET team keep ignoring Media Center add ons for us VB.Windows 7 is now out, put something together for this and let the add ons start flowing from the VB world...A template and an example app.It is high time MS and the VB team aid us in getting into the MCE world.

View 1 Replies

Windows Media Player Component?

Jan 11, 2009

I 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].....

View 3 Replies

Windows Media Player Error

Apr 1, 2010

All works fine until i take the .exe file and change directory, desktop etc.[code]...

View 2 Replies

Windows Media Player Errors

Mar 11, 2010

I 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 Replies

Windows Media Player Multiple URL's

Jan 23, 2009

I 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 Replies

Windows Media Player SDK CD Burning?

Nov 22, 2010

I 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?

View 3 Replies

Windows Media Player With 2 Monitor?

Mar 8, 2009

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 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

Adding Reference To Windows Media Services?

Jun 19, 2010

I'm trying to add a reference to the windows media services, but I cant find the reference.I found lots of pages, downloaded the platform sdk, on my laptop, got a server with windows server 2008 and installed the server2008 there also.

View 3 Replies

Can't Import System.Windows.Media.Imaging?

Jan 24, 2010

I'm getting a message when I try to import this namespace that "Namespace or type specified in the Imports System.Windows.Media.Imaging doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined etc..."

View 7 Replies

Change Windows Media Player Skin Like Wmp 12?

Aug 11, 2011

I 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 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

Create A New Instance Of The Windows Media Player?

Dec 13, 2009

I do not want a Windows Media Player control on my form. I am making an alarm clock. I have tried this: <code>Friend WithEvents WindowsMediaPlayer As New Microsoft.Win32.</code>

But I do not see a Windows Media Player member.

I also asked on StackOverflow.

View 1 Replies

DataGridView Cell Value To Windows Media Player Url

Jun 5, 2011

I Have A Question On VB Basic, Been Trying To Figure This Out For over A Month Now.. I Want to Put Videos With Url In DataGridView So That When User Clicks Cell, Its Plays The Video, i Have 2 Columns..

View 1 Replies







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