On Monday 11 September 2006 2:37 pm, Rüdiger Greeb wrote:
> Hello list,
>
> does anyone know, how Realsoftware's feedback system works in general?
>
> I added a state change request to
> http://www.realsoftware.com/feedback/viewreport.php?reportid=vflzieft
> three weeks ago, but there was no change until now.
>
> Problem is that you cannot access files under Linux using the
> FolderItem.Child() Method because RB doesn't insert the "/" in the
> filename.
>
> Regards
> Rüdiger
Hi Rüdiger,
First, In my previous email, I made a mistake. It is GetOPENFolderItem that
fails on Linux, not GetFolderItem.
This is copied from the feedback report:
**************
dim f as folderitem
f = app.ExecutableFile
msgbox f.Child("file.ini").AbsolutePath
rem return wrong : "/home/petrfile.ini" oposite right: "/home/petr/file.ini"
Code fragment:
AppFolder = App.ExecutableFile
' Workaround because App.ExecutableFile points to the execution directory in
Linux, not the file ...
If Not AppFolder.Directory Then AppFolder = AppFolder.Parent
**************
Why do you think that App.ExecutableFile points to the enclosing folder? For
me, it points to the application. This means that in your first code above,
you are tying to get the .Child of a file, not a folder.
Don Jungk
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>