Dim f As FolderItem = GetFolderItem("", FolderItem.PathTypeNative)
When I run the program f is always Nil.
I changed the code to:
Dim f As FolderItem = GetFolderItem("")
Now f is the current directory.
I would expect that using FolderItem.PathTypeNative for the current directory would give me the native path of that directory.