Solved

Playing audio and video files in vb.net 2008

Posted on 2010-08-27
6
377 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 8

Expert Comment

by:Mohit Vijay
ID: 33548122
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
ID: 33548147
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
ID: 33548402
0
Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

 

Author Comment

by:vj_mi
ID: 33553477
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
ID: 33553493
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
ID: 33553500
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

622 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