[Gambas-user] .Run() method of DesktopFile Class... How to ?

Jack jscops at ...11...
Thu Jan 9 14:51:07 CET 2014


Le 09/01/2014 14:23, Ru Vuott a écrit :
> Hello,
>
> I wrote this simple code to try DesktopFile.Run() method:
>
> **************************************
> Private pr As Process
>
>
> Public Sub Form_Open()
>
>    Dim df As DesktopFile
>
>
>     With df = New DesktopFile("/path/of/my/file.wav")
>       pr = .Run("totem")
>     End With
>
> End
> ************************************

hello

why not use sdl component ?

Public Sub Form_Open()
    Music.Load("/path/of/my/file.wav")
    Music.Play
End

it's more simple, no ?


-- 
Cordialement

Jacky Tripoteau




More information about the User mailing list