Initial Directory on SelectFolderDialog

Is there a Way to set the InitialDirectory of SelectFolderDialog to Network Places (Win/MAC)

I tried SpecialFolder.NetworkPlaces (on Windows) but it points to the Network Shortcuts
and I tried SpecialFolder.Mount (on Mac), and points to the mounted Volumes (local and network drives on Mac)

But I wonder if theres a way to point to “Network” location, where it sees all the Network devices and then select one Network shared folder of any PC that are sharing folders (on Windows)

And for Mac if theres a Way to point to the Shared location, where It sees all network devices.

Regards
Thanks in advance :smiley:

For Windows:
dlg.InitialDirectory = GetFolderItem("\\\folder\subfolder")

macOS:
dlg.InitialDirectory = GetFolderItem(“smb:///folder/subfolder”)
dlg.InitialDirectory = GetFolderItem(“afp:///folder/subfolder”)

[quote=385059:@Horst Jehle]For Windows:
dlg.InitialDirectory = GetFolderItem("\\\folder\subfolder")

macOS:
dlg.InitialDirectory = GetFolderItem(“smb:///folder/subfolder”)
dlg.InitialDirectory = GetFolderItem(“afp:///folder/subfolder”)[/quote]

Hi I tried this on Mac, Obviously First Mounting the Network Folder going to “GoTo/Connect to Server” on Mac Finder Menu.
Then Select smb://garciaserver/Carpetas_Red_CYE2013 and Connect

And in Xojo I Tried:

dlg.InitialDirectory = GetFolderItem("smb://garciaserver/Carpetas_Red_CYE2013")
dlg.InitialDirectory = GetFolderItem('"gerardogarcia@garciaserver/Carpetas_Red_CYE2013")

And points me to another directory, for example: Documents

Any Suggestions?