20 pts.
 how to open media fils?
how to open media files using vb6 using dialogbox control please get me the codings to open and to read

Software/Hardware used:
ASKED: May 8, 2008  9:45 AM
UPDATED: May 17, 2008  5:43 PM

Answer Wiki:
You can do this in two ways: <ol> You add the Media Components and then pass the file name to the component You perform a <i>shell</i> command that will open <i>Windows Media Player</i> and passing the file path and name as argument </ol> Example <pre> Private Sub Command1_Click() Dim path As String Dim runExe As Double path = "C:Program filesWindows Media Playerwmplayer.exe" runExe = Shell(path & " c:mymusicfile.mp3", vbMaximizedFocus) End Sub </pre>
Last Wiki Answer Submitted:  May 17, 2008  5:43 pm  by  alessandro.panzetta   9,695 pts.
All Answer Wiki Contributors:  alessandro.panzetta   9,695 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _