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 <[email protected]>:

> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to