Hello,
My explorer root directories are based upon a user managed config file. It can happen that the directory is incorrect/removed whatever. this creates an ugly error;
How can I show a userfriendly message that the directory does not exist?
And/or how can I force the explorer to show an empty directory?
I tried
return new DirectoryItem("Invalid directory", string.Empty, "/", "tag", PathPermissions.Read, null, null);
but that shows the root directory.
Any ideas?
Thanks
My explorer root directories are based upon a user managed config file. It can happen that the directory is incorrect/removed whatever. this creates an ugly error;
How can I show a userfriendly message that the directory does not exist?
And/or how can I force the explorer to show an empty directory?
I tried
return new DirectoryItem("Invalid directory", string.Empty, "/", "tag", PathPermissions.Read, null, null);
but that shows the root directory.
Any ideas?
Thanks