How to Play Audio and video songs in vb.net
-
:confused:Hi i had start one project audio format convert but i do not how to play songs in vb.net plz tell me and give the namespace, and one more doubt is what is jagged array????????????????? Kiran Kumar
-
:confused:Hi i had start one project audio format convert but i do not how to play songs in vb.net plz tell me and give the namespace, and one more doubt is what is jagged array????????????????? Kiran Kumar
if you want to import System sounds like Asterisk,Beep,Hand and others you should import the namespace System.Media but if you want to add a project that plays any kind of sound formats you can use a DirectX component called Quartz.dll which is part of Windows MediaPlayer and Windows Operating system.This file you can find in this path: C:\WINDOWS\system32.Open the Visual Studio Command Line and type the following command:[WindowsDir]/tlbimp quartz.dll /out:QuartzTypeLib.dll.The [WindowsDir] is where your instalation of operating system is(in most cases C:\).I hope I helped you cause I had the same problem and should digging a lot to find a way to play sound formats.Best wishes! :)
Qendro