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

Fabien Bodard gambas.fr at ...626...
Thu Jan 9 15:25:37 CET 2014


Or the media one
Le 9 janv. 2014 15:10, "Jack" <jscops at ...11...> a écrit :

> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list