Sven,


app.DossierAppa = f.GetSaveInfo(f,0)

//app.DossierAppa is a String Property


Best Regards,

Youri



Sven E Olsson wrote:

On 2007-01-16, at 17:52, Youri wrote:


Jerry,

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

Argghhh!

Regards,


Youri



What is DossierAppa? A SaveInfoStr ?

If so:

dim ff as folderitem
ff = GetFolderitem(DossierAppa)

if ff <> nil and ff.exist     then

else

end if

--------
Sven E




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>


_______________________________________________
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