Click here to Skip to main content
15,887,827 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Another Question, Im creating a web browser and on the right side of my browser is list of downloaded files, ive created it already, but the thing is, i need to play it, when i double click it, so how to do it? im using FILELISTBOX1 and AXWINDOWSMEDIAPLAYER1
Posted

In general you can use System.Diagnostics.Process.Start("filepath") to open any file in your computer with the default program associated with the file extension. It's just like double-clicking the file in the Windows Explorer.
 
Share this answer
 
how to play mp3 files using it? my list is in filelistbox and i have media player but i cant play it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900