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

Ru Vuott vuott at ...325...
Thu Jan 9 14:23:24 CET 2014


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

So, I thought that, starting the application, it played also wav file.
Instead, the application did not played the wav file.

Perhaps the code should be written differently?

Regards
vuott




More information about the User mailing list