Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am developing a music player and I can write whole of the part of media player by using visual basic 2010. But in window media player or any such other player, we can double click the song and this song will be automatically play. In other application, double clicking the .psd will automatically open the photoshop app and we can edit photo directly.

In my player,

1. It is need to firstly open the player.

2. Open the songs from file menu or drag and drop to listbox.

3. Play the file.

How can I write my program to double click the music file and it will play automatically. If you have time please write the code that double click the .mp3 extension will add to listbox list but it doesn't need the program to start. Plz guide me help me !!!
Posted
Comments
Sergey Alexandrovich Kryukov 26-Jun-13 23:17pm    
A song does not "open" anything. If it did, we would call it application or something, but not a "song". It looks like you have no idea on how applications are started when you click on a data file, which has nothing wonderful in it at all, and not only developers, but advanced users clearly understand how it works.
—SA

1 solution

Please see my comment to the question, and familiarize yourself with such elementary topic as "file association": http://en.wikipedia.org/wiki/File_association[^].

Then, do some Web search on the topic, entering your language, platform, frameworks or libraries you use or other relevant information. If, after such basic research, you still have some difficulties, provide this information by tagging your question with appropriate keywords, explain what are those difficulties. That could help you to get more specific direction and advice.

—SA
 
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