如何制作将自动打开我的音乐播放器并在没有其他播放器的用户输入的情况下播放的歌曲 [英] How to make song that will automatically open my music player and play without user input like other player

查看:94
本文介绍了如何制作将自动打开我的音乐播放器并在没有其他播放器的用户输入的情况下播放的歌曲的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个音乐播放器,我可以使用visual basic 2010编写媒体播放器的全部内容。但是在窗口媒体播放器或任何其他播放器中,我们可以双击歌曲,这首歌将自动播放。在其他应用程序中,双击.psd将自动打开photoshop应用程序,我们可以直接编辑照片。



在我的播放器中,



1.首先需要打开播放器。



2.从文件菜单打开歌曲或拖放到列表框。



3.播放文件。



如何编写我的程序来双击音乐文件它会自动播放。如果你有时间,请编写双击.mp3扩展名的代码将添加到列表框列表,但它不需要程序启动。 Plz指导我帮助我!!!

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 !!!

推荐答案

请参阅我对该问题的评论,并熟悉文件关联: http://en.wikipedia.org/wiki/File_association [ ^ ]。



然后,做一些网络搜索主题,输入您使用的语言,平台,框架或库或其他相关信息。如果在这些基础研究之后,您仍然遇到一些困难,请通过用适当的关键词标记您的问题来提供此信息,解释这些困难是什么。这可以帮助您获得更具体的指导和建议。



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


这篇关于如何制作将自动打开我的音乐播放器并在没有其他播放器的用户输入的情况下播放的歌曲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆