Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 385
  • Last Modified:

Playing audio and video files in vb.net 2008

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
vj_mi
Asked:
vj_mi
1 Solution
 
Mohit VijayCommented:
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
 
ZhaolaiCommented:
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
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
0
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.

 
vj_miAuthor Commented:
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
 
ZhaolaiCommented:
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
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
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 Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now