[Gambas-user] i Build a RPM package but...

tsukuba GIMP user tsukubagraduates at ...3482...
Sun Jul 12 13:01:38 CEST 2015


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


More information about the User mailing list