VB 2010表达难点 [英] VB 2010 express difficulty

查看:78
本文介绍了VB 2010表达难点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我已经用VB 2010 Express编写了一个程序,它运行良好.
我希望我的程序生成独立的可执行文件.
我的程序是这样的,它有一个带有文本框和2个按钮(PLAY和SAVE)的窗体.
我将(.mp3或其他类型)歌曲拖放到文本框中.然后单击PLAY按钮,
因此它会播放所有我已经拖拽并放入
到文本框中的歌曲 每个歌曲文件都打开的默认媒体播放器.很好用.
但是我必须从头开始每次都这样做.
我要这样做,以便当我按下第二个按钮时保存
进入表单以创建独立的可执行文件,该文件包含歌曲列表,
我将把Dragged and Dropped放到文本框中.
就是说,当我双击带有歌曲的文件时,
我创建的程序将开始播放那些歌曲.
感谢您的帮助!

Hello again guys
I have made a program with VB 2010 express and it works fine.
I want my program to generate stand alone executable files.
My program is like this , it has a form with a text box and 2 buttons(PLAY and SAVE).
I Drag and Drop (.mp3 or whatever)songs into the text box.Then i click the button PLAY ,
so it plays all those songs that i''ve Dragged and Dropped into the text box with the
default media player that every song-file has on. That works perfectly.
But i have to do this every time from the beggining.
I want to make it so that when i press the second button SAVE that
is into the form to create a stand alone executable file,a file with the list of songs that
i will have Dragged and Dropped into the text box.
By that i mean that when i will double click the file with the songs that
my program created will start playing those songs.
Appreciate Your Help!!!

推荐答案

您要做的就是创建一个播放列表-双击该播放列表,默认播放器将按顺序播放所有歌曲.
看看以下内容:创建Windows Media Player列表 [
What you want to do is create a PlayList - when that is double clicks, the default player will play all the songs in order.
Have a look at this: Create a Windows Media Player List[^] - it''s in C#, but it should be pretty simple to convert.


这篇关于VB 2010表达难点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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