I have been using the following code to open applications from vb5. It works on most applications and in particular a version of music match written in VB. Their latest version was written in C++ and it won't open with this code. I can double click on a file.m3u and it will open. How do I need to change the code to be able to open any application within vb5?
Private Sub List3_Click()
Dim musicfil As String
musicfil = List3.Text & ".m3u"
Dim lngRetVal As Long
ShellExecute Me.hwnd, "Open", musicfil, 0&, 0&, 5