Jerry,
I tried to test for DossierAppa <> "" but it passes the test and chokes!
Argghhh!
Regards,
Youri
Jerry Fritschle wrote:
On Jan 16, 2007, at 2:25 AM, Youri wrote:
DossierAppa = DecodeBase64(rsPATH.Field("Appa_folder").Value)
dim ff As FolderItem
ff = new FolderItem(DossierAppa)
if ff = nil then
Anyway I get an "UnsupportedFormatException" error as well before
reaching the ff.exists.
Sounds like it's gagging on being passed an empty string. Maybe you
need to put
if DossierAppa<>"" then...
dim ff as folderitem
f=new folderitem(DossierAppa,folderitem.pathtypeshell) //maybe
folderitem.pathtypeabsolute
if f.exists and f.directory //assuming that we're specifically looking
for a FOLDER with this name
blah blah
end if
else
//whatever we do if DossierAppa is empty
end if
-----
"Drama is life with the dull bits cut out."
-Alfred Hitchcock
Jerry Fritschle
_______________________________________________
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>