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

Marco Ancillotti gambas at ...3466...
Sat Jul 11 12:56:44 CEST 2015


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





More information about the User mailing list