Re: running m3u's with VB6
If there is a program associated with .m3u files you can use ShellExecute to open it using that program.
Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) _
As Long
'Open the .m3u file, needs to be placed in a form or UserControl
ShellExecute Me.hWnd, "open", [FilePath], vbNullString, "C:\", 0&
Re: running m3u's with VB6
You could also try to call the .exe that has to open the file with the filepath as a commandline parameter.
Like: "c:\winamp\winamp.exe songs.m3u"
Re: running m3u's with VB6