Hi, I'm trying to use the WMPLib library, but I can not use it. I compile my project, and it always returns the same error:
I included the library with:
Imports WMPLib
Dim Player As WindowsMediaPlayer = New WindowsMediaPlayer
I think maybe it's the dll, that I have to try another, so I started searching but I can not find it. Does anyone know how I can use this library to put sound in applications?
Error:
Gravedad Código Descripción Proyecto Archivo Línea Estado de supresión
Error BC30002 No está definido el tipo 'WindowsMediaPlayer'. C:\Users\Androide\Desktop\Scratch-master\Scratch-master\Form1.vb 7 Activa