Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to play MP3 files in VB?

Posted on 1997-12-26
6
Medium Priority
?
734 Views
Last Modified: 2008-02-01
I have an application that is playing .wav files via the MCI APIs, but due to the large size of the .wav files (> 300MB) I would like to encode them in MP3.  I have the compressor, but am unsure how to play them in VB.

Any help would be appreciated.
0
Comment
Question by:kbakst
[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
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:mrmick
ID: 1447674
I'm pretty sure you can only play WAV files through the API calls, can you compress them and uncompress one just before you play it?
0
 

Author Comment

by:kbakst
ID: 1447675
That is the question I'm asking.  I need to know if there is another set of API calls (perhaps available with an MP3 decompressor) for 32 bit Windows apps that I can call from VB.
0
 
LVL 8

Expert Comment

by:mrmick
ID: 1447676
Where did you get the MP3 compressor?  I may be able to find what you're looking for.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:kbakst
ID: 1447677
Well, I found a good solution.  I found a freeware program called dwav2mpe.exe that will encode .wav files into MP3 format and leave the .wav header, allowing you to play them with the standard MCI API calls, as long as you have the proper CODEC installed (it comes with Microsoft Netshow).

Thanks anyway .
0
 
LVL 7

Accepted Solution

by:
linda101698 earned 400 total points
ID: 1447678
I'm posting the solution found by kbakst so it can be saved in the previously asked questions.

Well, I found a good solution. I found a freeware program called
dwav2mpe.exe that will encode .wav files into MP3 format and leave the .wav header, allowing you to play them with the standard MCI API calls, as long as you have the proper CODEC installed (it comes with Microsoft Netshow).
0
 
LVL 8

Expert Comment

by:mrmick
ID: 1447679
Maverick, you can email me at: mick@owen.wa.com - I cannot return to review comments in this question.
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

597 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