Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How do I find the root volume for a file?
Answer: Try this function:
Function GetRootVolume(f as FolderItem) as FolderItem
dim root, dum as folderItem
if f <> nil then
root = f // f might be the volume
dum = root.parent
if dum <> nil then
root = dum
end if
loop until dum = nil
return root
end if
End Function

Feedback, Comments & Corrections

The biggest plugin in space...

MBS Xojo Plugins