Perhaps a bit more trickier is that these values will also be empty if the user opens a central file and selects ‘detach from central’

If the user runs your tool before manually saving it somewhere, they will not have a PathName or Title. If your application relies on this value make sure you check it for null and have a contingency plan, such as asking the user to save the file first, or prompting them for a location.

No comments:
Post a Comment