[Gambas-user] (no subject)

Gianluigi bagonergi at ...626...
Fri Mar 11 22:29:14 CET 2016


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
>



More information about the User mailing list