... I using "mediaview" but it's no have like picture.load("xxx.png") options
mediaview only have "mediaview.url" options i must use music = application.Path 
&/ "music1.mp3"
and then it's working
ok here is my code:

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




On Sun, 12 Jul 2015, tsukuba GIMP user wrote:
> but if use "music = application.Path & "/music1.mp3"" when i build RPM 
> package the file"/music1.mp3" will be added or not added? 
> (and i try use music = application.patch & "music1.mp3" it's will not working 
> but "/music1.mp3" is working)
>

You seem to have no idea of what you are doing. I'm not pedagogically
qualified enough to help you any more than this: attached is a sample
project which includes an image file in the "Data" slot of the project
TreeView in the IDE. It is loaded into a PictureBox by using its relative
path. This is the correct way of doing it.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to