In fact (I was not clear enough), I saved the file, then test against error:

// Some code to save the data here: f.<Some-Save-here>

If f.LastErrorCode <> 0 Then // I get the error here (101)

but when I checked in the Debugger (and in the disk, the file is therre), I get f.Exists (and so not Nil) before asking for f.LastErrorCode...

As a matter of work-around, I removed the error checking (the opposite of what one have to do) :(


Sorry,


Emile



PS: I feel for whatever reason that it is REALbasic who make the change the f (FolderItem) value to Not Exists. Why is a different story...


[EMAIL PROTECTED] wrote:
Subject: Re: file doens't exist
From: FreeFL <[EMAIL PROTECTED]>
Date: Sat, 18 Feb 2006 17:24:04 +0100

|    18/02/06 ~ 10:05 +0100 :
|    Emile Schwarz,
|         " Re: file doens't exist "



I get that after I _WROTE_ the file; the file was correct, I was able to open with a different software without trouble or error report. It may be related.


Any taker ?


I would love to have an answer to this one. I get exactly the same problem = my app does write a text file but cannot getfolderize it...



_______________________________________________
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