[Gambas-user] (no subject)

Ru Vuott vuott at ...325...
Sat Mar 12 00:44:01 CET 2016


To:  Benoît

No, it does not work.
In console I obtain simply like an empty newline (...carriage return).


To: Gianluigi

I forgot change italian "percorso" word to "path"... a simple mistake, but even adjusting the variable name, the problem is not eliminated.

regards
vuott



--------------------------------------------
Ven 11/3/16, Gianluigi <bagonergi at ...626...> ha scritto:

 Oggetto: Re: [Gambas-user] (no subject)
 A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
 Data: Venerdì 11 marzo 2016, 22:29
 
 Hello vuott,
 It is true it works, if instead of
 "percorso" put "path" your code
 works.
 Regards
 Gianluigi
 
 2016-03-11 22:01 GMT+01:00 Benoît Minisini
 <gambas at ...1...>:
 
 > Le 09/03/2016 11:46, Ru
 Vuott a écrit :
 > > Hello,
 > >
 > >
 "before", by using this simple code (gbdesktop and
 gb.desktop.x11):
 > >
 > > Public Sub Button1_Click()
 > >
 >
 >   Dim df As DesktopFile
 >
 >   Dim path As String
 >
 >
 > >    percorso =
 "/path/of/the/file"
 > >
 > >   For Each df In
 DesktopFile.FromMime(DesktopMime.FromFile(path).Type)
 > >      Print df.ProgramName
 > >    Next
 >
 >
 > > End
 >
 >
 > > I "was" able to
 know the applications associated (by default and those
 > by me choosen) with a file.
 > >
 > > Regards
 > > vuott
 >
 > And now?
 >
 > --
 > Benoît
 Minisini
 >
 >
 >
 ------------------------------------------------------------------------------
 > Transform Data into Opportunity.
 > Accelerate data analysis in your
 applications with
 > Intel Data Analytics
 Acceleration Library.
 > Click to learn
 more.
 > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
 >
 _______________________________________________
 > Gambas-user mailing list
 > Gambas-user at lists.sourceforge.net
 > https://lists.sourceforge.net/lists/listinfo/gambas-user
 >
 ------------------------------------------------------------------------------
 Transform Data into Opportunity.
 Accelerate data analysis in your applications
 with
 Intel Data Analytics Acceleration
 Library.
 Click to learn more.
 http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
 _______________________________________________
 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