Solved

Playing audio and video files in vb.net 2008

Posted on 2010-08-27
6
364 Views
Last Modified: 2012-05-10
Hello,

I have vb.net 2008 and I want to play all types of audio files like wav, mp3 etc and video files like avi, flv etc.
But I do not want to use COM components of .net. Is there any other way? Also for small applications third-party controls prove to be costly.

Regards,
MI
0
Comment
Question by:vj_mi
6 Comments
 
LVL 8

Expert Comment

by:Mohit Vijay
Comment Utility
I think you only have option to use Windows Media Player control or as third party You can use JavaSonic control.

Other way is to use Silverlight in your project.
0
 
LVL 17

Expert Comment

by:Zhaolai
Comment Utility
Check out the following  link. I think you can use the first approach in there:

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/44f84924-636b-4f6a-a551-64e5ad1eef13

0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
Comment Utility
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:vj_mi
Comment Utility
Each of this can potentially impact the client's PC where my software will get installed.

For example, in case of DirectX, what if the user has latest version of DirectX? Also I will need to ship direct x with my setup.
And I do not want to use COm components since they make us go crazy as the user has to install the com compoenet. Any simpler versions? Or any freeware tools?

Regards,
MI
0
 
LVL 17

Expert Comment

by:Zhaolai
Comment Utility
With DirectX, you do not need to ship entire DirectX. All you need is to incude Microsoft.DirectX.AudioVideoPlayback.dll in your setup/deployment. It does not affect your stuff, even if your users have previous/newer version of DirectX.
0
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
Comment Utility
Hi,

And for the link I provided you I have used Windows Media Player component & if it is .net application it would run on Windows System. And all Windows System comes with Windows Media Player. So I don't think there is some issue in using that.

Regards,
VSS
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now