Open An MP3 File 
Author Message
 Open An MP3 File

How Do i Open An MP3 file so it will open in the default Player


Fri, 02 Apr 2004 02:07:57 GMT  
 Open An MP3 File


ShellExecute..

Quote:
>How Do i Open An MP3 file so it will open in the default Player

Regards, Frank


Fri, 02 Apr 2004 02:58:08 GMT  
 Open An MP3 File
There is an example of how to do this at this site.
 http://www.buygold.net/tips

--
brn


Quote:
> How Do i Open An MP3 file so it will open in the default Player



Fri, 02 Apr 2004 05:28:33 GMT  
 Open An MP3 File
Thanks thats great but i am useing this code as an
Example:

ShellExecute Me.hwnd, "open", "d:\music\new\Tq - Westside.mp3",
vbNullString, "C:\", SW_SHOWNORMAL

but when Wiamp opens i just get the Play List Editor and  eqalizer sections
of it can anyone help with this



Sat, 03 Apr 2004 01:50:00 GMT  
 Open An MP3 File
Once WinAMP is up, it is up to it on wheater or not the song is played.  For
example, I use Sonique and there is a setting on wheather or not to play
added songs immediatly.  For Sonique, when you double click a MP3 file, all
it does is add it to the PlayList.  If I have the Option in Sonique to play
added songs immediatly, then it will play.  If that is not set, then it is
just added to the list.  So, with your code using ShellExecute, that is the
most you can really do to get the default application up.  You may want to
read up on WinAMP to see if there are any command line arguments you can
pass to start playing, but then your code will be specific for WinAMP.

--
Clint LaFever
http://vbasic.iscool.net

----------------------------------------------------------------------------
-
http://vbasic.iscool.net
Home of:
    The Extended ListView (Edit any subitem) Free
    The Code Depot Add-In
    Much more (All Free)
----------------------------------------------------------------------------
-


Quote:
> Thanks thats great but i am useing this code as an
> Example:

> ShellExecute Me.hwnd, "open", "d:\music\new\Tq - Westside.mp3",
> vbNullString, "C:\", SW_SHOWNORMAL

> but when Wiamp opens i just get the Play List Editor and  eqalizer
sections
> of it can anyone help with this



Sat, 03 Apr 2004 02:28:55 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. How to play MP3 file when document opens

2. Opening MP3 file with default player

3. Convert .WAV file to .MP3 file in VB6

4. Win APIs to play mpg video files, mp3 audio files and audio cds

5. I'm trying to open an MP3 tag

6. Opening a File Open window for file selection in VBA

7. Getting open file name w/o opening file

8. opening / saving files with MS rich text box control (viewing open files)

9. Saving open file and opening new file at a specified time of day

10. Help i need an Mp3 control that plays mp3's

11. playing mp3-files

 

 
Powered by phpBB® Forum Software