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

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to