[Gambas-user] 回复: 回复: how to cite mplayer

tsukuba GIMP user tsukubagraduates at ...3482...
Sat Jul 11 13:55:40 CEST 2015


Public Sub Button1_Click()
  
  Dim music1 As String
  music1 = application.Path & "/music1.mp3"
  MediaView1.URL = "music1"
  MediaView1.play

End

i try this but when MediaView1.play will be "cannot set status"



------------------ 原始邮件 ------------------
发件人: "Marco Ancillotti";<gambas at ...3466...>;
发送时间: 2015年7月11日(星期六) 晚上6:56
收件人: "gambas-user"<gambas-user at lists.sourceforge.net>; 

主题: Re: [Gambas-user] 回复:  how to cite mplayer




So the path is not right , U have to use full path or use: 
application.path & "/music1.mp3"


Il 11/07/2015 12:31, tsukuba GIMP user ha scritto:
> I just want when i click button1 mediaview1 will be play in Program directory mp3 file
>
>
> Il 11/07/2015 11:48, tsukuba GIMP user ha scritto:
>> I would like to quote an external file(music1.mp3)
>>
>> #======|code|======
>> #
>> #Public Sub Button1_Click()
>> #
>> #  Dim music1 As String
>> #  music1 = "/music1.mp3"
>> #  Mediaview1.URL = music1
>> #
>> #End
>>
>> #
>>
>> IS wrong?
> I don't use the media module , but for what I see U need to use the play
> function of mediaview to play the mp3 after U set the url.
>
> Also , are U sure that the file is in / ? it seem strange that U put a
> mp3 on the root of the system.
>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


More information about the User mailing list