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