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

Network files selected via OpenFileDialog are not readable

$
0
0

… at least not in my app under windows if they’re on a network-mounted volume. This is 2024r4.1 under macOS Sonoma, building for Windows-10 running in a VirtualBox VM.

I have this code:

dlg = New OpenFileDialog

dlg.Title                   = "Select files"
dlg.PromptText              = "Select one or more files"
dlg.ActionButtonCaption     = "Select"
dlg.AllowMultipleSelections = True
f = dlg.ShowModal

if  (f=Nil)  then Return

Discovering later that I couldn’t read the selected files, I put a breakpoint on the if at the end of the code above, and examined the folderitem. It showed isReadable and isWriteable as both False.

And yet the file in question, a Xojo binary project, could be opened, altered, and saved in the IDE running under Windows 10 in the same VM. Can anyone explain this?

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles