simple mp3 approach for VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I’ve developed a prototype application in the compact network’s versions of
VB. My demonstrations would be more compelling if I could, from my vb code,
control the playing of several short, 5-15 second, mp3 sound files.

I’m seeking recommendations for how to get this done. I’m not an expert
programmer, have never “p/invoked†in my life, so the simpler the better.

Ideally , if I could execute a statement in my vb code that contains a path
reference to an mp3, this would be best, but I know such things are not
usually that easy.

I’d very much appreciate any recommendations. Sample code would be even
better!
 
You may use Windows Media Player to play Mp3. By default mp3 files are
associated with WM that is why just call like this:

OpenNETCF.Diagnostics.Process.Start("full path to your mp3 file", null);

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top