Hi all

I have a question?

the following code works well:

Ubuntu LXDE Session
Ubuntu Openbox Session

Debian LXDE Session
but Debian Openbox Session
gives this error (gb.desktop: unable to found mime database)
Null Object

   Dim File As String
   Dim i As Integer
   Dim sPath As String
   Dim img As Image

  Directory = user.home

  For Each File In Dir (Directory, "*", gb.File)

     sPath = Directory & / file
     img = DesktopMime.FromFile (sPath). GetIcon (48)
     i Inc
     IconView1.Add (i, file, img.Picture)

   Next

How I can fix this problem in Debian Openbox Session.

Regards

Herberth Guzmán
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to