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’
![image image](http://lh4.ggpht.com/_PZEkMtbO9tU/TUi9GlO14WI/AAAAAAAAAEk/Ocv1dF6qUMM/image_thumb%5B4%5D.png?imgmax=800)
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.
![image image](http://lh5.ggpht.com/_PZEkMtbO9tU/TUi9HpGadOI/AAAAAAAAAEs/7ZK5oVIjyfY/image_thumb%5B9%5D.png?imgmax=800)
No comments:
Post a Comment