Questions tagged [wmplib]

91 questions
5
votes
1 answer

How to use WMPLib in C#

I'm trying to import WMPLib but Visual Studio but it's giving message Type or Namespace name 'WMPLib' could not be found. I also tried using System.Windows.Media but again for Media it's giving same message. I tried adding in toolbox Windows Media…
fhulprogrammer
  • 599
  • 2
  • 7
  • 16
5
votes
3 answers

Zune API ZuneCore.dll

I noticed the other day that the Zune PC Software exposes a type library (ZuneCore.dll). It seems to be related to the WMPLib API in some way but I can't figure out how to use it either from VB6 or C#. Has anybody tried this and had any luck? Dave
David Hayes
  • 7,402
  • 14
  • 50
  • 62
3
votes
0 answers

WMPLib.WindowsMediaPlayer fastReverse not available

I am writing a small application using WMPLib.WindowsMediaPlayer. The thing is that the fast reverse method is always not available. I have no problems with fast forward which is working fine. I am playing mp3 files.
Eran
  • 79
  • 8
3
votes
0 answers

Playing .wav byte array in Windows Media Player

I have encrypted audio files on my system, which i am running with my C# utility following below listed scheme file is decrypted and result is stored in Byte array i write all bytes in particular file, say, decrypted.wav pass decrypted.wav to…
madiha malik
  • 827
  • 2
  • 8
  • 15
3
votes
0 answers

c# How to show same video in two forms or tow video players simultaneously

I'm looking for a way to show, the video which is playing in one wmp, into another form. Basically I want to see the same video in two different forms. I looked and did a lot of searches but could't find any solution. For this reason, I will…
3
votes
3 answers

change volume of mp3 playing via wmplib in c#

Is it somehow possible to change the volume of a mp3-file that is playing via wmplib? Changing the volume of the program itself would be ok as well. Are there any solutions to do this?
f4bzen
  • 301
  • 2
  • 6
  • 17
3
votes
0 answers

Using Interop.WMPLib.dll in mono # linux

i'm developing an application in windows using visual studio 2010 and c#... now i wanna compile this application in mono (installed on windows) and then run my application on archlinux (with monoframework). This application use Interop.WMPLib.dll…
Enricosoft
  • 869
  • 2
  • 10
  • 28
3
votes
1 answer

Firing event when time changes on axwindowsmediaplayer

I have a windows application. I am using axwindowsmediaplayer which is in AxInterop.WMPLib dll.I dont have any problem about playing the videos, but I want to fire an event when the user goes to a specific time by clicking on media player . I looked…
Ozgur Dogus
  • 911
  • 3
  • 14
  • 38
2
votes
2 answers

Why windows media player is not closing with player.Close() method?

I am creating a media player object in a simple console application, to play some file. Though the media player is getting launched successfully, when I am using the close() method, the process still runs and media player window does not close. what…
satya
  • 2,537
  • 9
  • 33
  • 43
2
votes
1 answer

Windows Media Player Control (winforms) - capture current frame as bitmap?

I am using Windows Media Player control in a winforms app, I would like to periodically capture the playing frame into a bitmap and save it locally. Does WMP expose the current playing frame? Surely the WMP librarty should expose the current frame,…
Mikos
  • 8,455
  • 10
  • 41
  • 72
2
votes
1 answer

List and Select Sound Card to Play Sound

I have a school bell project coded with Visual Basic 2010 Express. The computer which runs my program has two or more sound cards. First I will list the sound cards to user. User will select the sound card to work. Finally my program will ring the…
Rose_The_Only
  • 238
  • 9
  • 21
2
votes
0 answers

WMP crashes when trying to create a playlist

Im developing in C#, WinForms, a Windows desktop application where I use the windows media player component. I created a playlist (curPlaylist) and a WMP component called musica (in the designer, drag and dropping to the form). In my PC works…
David TG
  • 85
  • 3
  • 10
  • 33
2
votes
1 answer

C# playing music

I've created a simple card game using Windows form app. The only thing that I need to do is add music effects. I recorded some sounds (draw a card etc.) in mp3, added it to the game via WMPlib and everything works, except one thing. I want to play…
Nys
  • 99
  • 1
  • 9
2
votes
1 answer

Repeat a song with WMPlib

sorry for asking simple question right here again. Due to I still new in C#, and although I have go through some sample but I couldn't solve my problem, can someone help me on this?? The code I have right now as below: if (NewState ==…
NewBieS
  • 147
  • 2
  • 10
2
votes
1 answer

I cannot get the name of the Artist and of the Album using WMPLib in C#

I am trying to make a music player in C# using WMPLib. Here is what I have: WMPLib.WindowsMediaPlayer song = new WMPLib.WindowsMediaPlayer(); song.URL = file; //the path to a mp3…
mimit
  • 39
  • 6
1
2 3 4 5 6