Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3673

Path of connection to a libreoffce file (Win e Linux)

$
0
0

Hi group, slowly, I am improving my project and I am testing it in Windows and Linux. On Windows I have no problem connecting to a libreoffice ods file. I have a .txt file with the path stored, I read it and open it from the program. Instead on Linux, the path is not opened. I would like to understand why. The .txt file is of the type: \PCUFFICIO\Desktop\H&FUTI~1\LISTIN~1\COSTOM~1.ODS/

the code is this:

Var f As new FolderItem (LeggiRigoFileDiTesto(4), FolderItem.PathModes.Native)
If f <> Nil Then
  if f.Exists then
    f.Open
  else
    messagebox " Attenzione, probabilmente il file " + LeggiRigoFileDiTesto(4) +" non esiste ..."
  end if
Else  // User Cancelled
  messagebox "Attenzione ... il rigo n°4 del file di configurazione presenta un errore nella path '' " +LeggiRigoFileDiTesto(4) +" ''"
End If

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3673

Trending Articles