How to play/manipulate MP3 Audio in VB

Posted on 2002-07-25
Last Modified: 2010-05-02
Good day to everybody...

How can I play an MP3 audio file in VB?
I should be able to play,pause,loop(it would be better if I can specify the length and position of the loop),forward, and rewind.

Is there all ready a control for this? If yes where can i find it? Not that good in VB... so I beleive, I a quite detailed answer...

I'll be using this with a simple word processor similar to notepad...

Thanks in advance...

(kindly inform me if the points alloted is enough... i dont want to be unfair. or is it too big?)
Question by:tijh
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
LVL 52

Accepted Solution

Ryan Chong earned 200 total points
ID: 7176486
See this if make helps:

LVL 52

Expert Comment

by:Ryan Chong
ID: 7176498

Author Comment

ID: 7176525
thanks for the quick reply... ill check out the links later and inform u if it helps...

so i suppose the points are enough... :)
Independent Software Vendors: 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!

LVL 52

Expert Comment

by:Ryan Chong
ID: 7176539
Points is not so important, but a Grade 'A' is what i looking for :) Hope the examples above is enough to make helps.


Expert Comment

ID: 7183190
Go to components in project menu or press ctrl+t in the list of components select windows media player check it then click ok. control will be added in the toolbox
add it to ur form using properties of windows media player
U can edit the control's function like autostart=true
give the path of ur mp3 file in file property
   file=c:\my documents\test.mp3
if u have ur mp3 file in ur my documents

with rgds
Manjunath S.R
LVL 52

Expert Comment

by:Ryan Chong
ID: 7184556
Hi manjunath_msr,

Welcome to EE :) First, here is what we always do: Post a comment as a 'comment' rather than an 'answer'. The questioner can/will accept your comment as the answer if your comment reach/solve the questioner's problem.

For more tips on comments and answers:


Expert Comment

ID: 7522821
Dear manjunath_msr
I've rejected your proposed answer as Experts Exchange holds an experiment to work without the answer button.

See: <>
Paragraph: Site Update for Wednesday, November 06, 2002

By this rejection the Asker will be notified by mail and hopefully he will take his responsibility to finalize the question or post an additional comment.
The Asker sees a button beside every post which says "Accept This Comment As Answer" (including rejected answers) -- so if he/she thinks yours is the best, you'll be awarded the points and the grade.

EXPERTS: I will return in seven days to close this question.
Please leave your thoughts and recommendations here


Thanks !

Experts Exchange Moderator
LVL 49

Expert Comment

ID: 8040607
Hi tijh,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept ryancys's comment(s) as an answer.

tijh, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
DanRollins -- EE database cleanup volunteer

Expert Comment

ID: 8095676
per recommendation

Community Support Moderator @Experts Exchange

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

615 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