On Jan 16, 2007, at 16:52 UTC, Youri wrote:

> I tried to test for DossierAppa <> "" but it passes the test
> and chokes!

Then the path is not empty but nontheless an invalid format.  I'm
tuning in late here, so maybe that's why I don't understand why this is
a big deal.  If given an invalid format, an exception is exactly what
is supposed to happen.  Just use try/catch to catch it, display a nice
error message to the user, and go on to more interesting things.

Also note that if this isn't a user-entered path, but rather you're
trying to save and restore a FolderItem reference within your own code,
then you shouldn't be using paths at all.  Use GetSaveInfo, if you're
not already doing so.

HTH,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to