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

Ru Vuott vuott at ...325...
Thu Jan 9 15:53:47 CET 2014


Hi Jacky,

yes, I know, but.... I like to experiment.  :-)

Bye
vuotttt



--------------------------------------------
Gio 9/1/14, Jack <jscops at ...11...> ha scritto:

 Oggetto: Re: [Gambas-user] .Run() method of DesktopFile Class... How to ?
 A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
 Data: Giovedì 9 gennaio 2014, 14:51
 
 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